Answer:
Input example:
select the funcion: 1
write the 1sd number2
write the 2nd number1
value is 2.000000
Explanation:
#include <stdio.h>
main()
{
//define the variables as float
float a, b, c, e;
char d;
while (1)
{
//input values
printf("select the function: ");
scanf("%c",&d);
printf("write the 1sd number");
scanf("%f",&a);
getchar();
printf("write the 2nd number");
scanf("%f",&b);
getchar();
if (d=='%')
{
a=a*b/100;
}
if (d=='*')
{
a=a*b;
}
if (d=='+')
{
a=a+b;
}
if (d=='/')
{
a=a/b;
}
if (d=='-')
{
a=a-b;
}
printf("value is %f \n",a);
}
printf("final value is %f",a);
getchar();
}
It probably short circuited or something inside your computer hole is broken
Answer:
The correct answer for the given question is "Computer virus"
Explanation:
A computer virus is a software program that is installed automatically without user's knowledge and designed to duplicate itself .The main purpose of computer virus is to harm the computer system.
Some of the points regarding computer virus
1.The computer virus contain malicious software Which harm the computer system.
2.It damage the computer computer system in such away that sometimes users will unable to access some certain functionality of computer system.
Answer:
B. If it is raining, bring an umbrella regardless.
Explanation:
Here is the code syntax:
<em>while </em>_ = <em>true</em>
<em> print</em>(rain)
In short words, this syntax is basically saying while a condition is true, do this. "This", is the function run under the true condition. For while loops to work, at least one condition of anything must be true.
- Hope this helps!
- If that's the case, please give thanks!
Answer:
Mazda RX-7. The Mazda RX-7 is a front-engine, rear-wheel-drive rotary engine powered sports car manufactured and marketed by Mazda from 1978–2002 across three generations—all noted for using a compact, lightweight Wankel rotary engine.