A formal business letter is the business document that is usually written in block style with the body text aligned along its left margin. A formal business letter is normally used from one business writing to another business, client their employees or stakeholders. This letter is formally written to inform those who are an important part in their company how things are going and letting them know what they need to update on. A block style letter refers to how the letter is set up for date, signature, message etc.
This is an answer by MrsTriplet, not me.
Answer:
See explaination
Explanation:
public class QuickRich {
static void getRichQuick() {
double amount = 1;
int day = 1;
System.out.println("Day 1: $1");
while (amount < 1000000) {
day++;
if(amount + 1 + (amount/2) < 1000000)
System.out.printf("Day %d: $%.2f + ($1 + %.2f) = $%.2f\n", day, amount, amount/2, amount+(amount/2)+1);
else
System.out.printf("Day %d: $%.2f + ($1 + %.2f) >= $1000000\n", day, amount, amount/2);
amount += (1 + (amount/2));
}
}
public static void main(String[] args) {
getRichQuick();
}
}
Answer:
#include <iostream>
#include <time.h>
#include <string>
using namespace std;
int main(){
srand(time(NULL));
cout<<"Throw dice"<<endl;
int b =0;
int a=0;
a=rand()%6;
b=rand()%6;
for (int i =0;i<1;i++)
{cout<<"dice one: "<<a<<endl;}
for (int i =0;i<1;i++)
{cout<<"dice two: "<<b<<endl;}
if(a>b)
{cout<<"first dice won"<<endl;}
if(b>a)
{cout<<"second dice won"<<endl;}
else{cout<<"they are same"<<endl;
return main();
}
return 0;
}
Explanation:
/*best dice roll game just for you change it as you want but all necessary things are there/*
I think it’s A, but sorry if I’m wrong it just looks like the one. :) Also this is my first time answering a question!