If it is a bad website your device could be infected with viruses
Answer:
<em>if..then statement is used to make a decision when there is only two options. </em>
<em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em> </em><em>&</em>
<em>you have to write a program that have to choose from three options then we use if..then..else statement.</em>
<h3>I HOPE THIS WILL HELP YOU IF NOT THEN SORRY</h3>
HAVE A GREAT DAY :)
Answer:
Required code is given below.
Best Regards,
Please ask if any queries.
Explanation:
#include <stdio.h>
#include <string.h>
int main(void)
{
char input[100];
printf("Enter desired auto service:\n");
scanf ("%[^\n]%*c", input);
printf("You entered: %s\n",input);
if(strcmp(input,"Oil change") == 0){
printf("Cost of oil change: $35\n");
}
else if(strcmp(input,"Tire rotation") == 0){
printf("Cost of tire rotation: $19\n");
}
else if(strcmp(input,"Car wash") == 0){
printf("Cost of car wash: $7\n");
}
else{
printf("Error: Requested service is not recognized\n");
}
return 0;
}
Money that can be promptly and easily appraised falls under the M1 Money classification.
<h3>What are broad and narrow money, respectively?</h3>
Broad money typically refers to M2, M3, and/or M4. The most liquid kinds of money, such as currency (banknotes and coins), as well as bank account balances that may be instantly changed into currency or used for cashless transactions, are generally referred to as "narrow money" (overnight deposits, checking accounts).
<h3>Describe Narrow Money.</h3>
All of the actual money that the central bank has falls under the category of "narrow money," which is a subset of the money supply. Demand deposits, money, and other liquid assets are included. In the US, "narrow money" is referred to as M1 (M0 plus demand accounts).
To know more about Money classification visit:-
brainly.com/question/28095328
#SPJ1