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();
}
Answer:
It can take a negative input
Explanation:
When you declare a variable in Java and you get your input via Scanner library; the Scanner library will accept the input irrespective of whether it's negative or not.
Take for instance, the following segment
<em>Scanner input = new Scanner(System.in);</em>
<em>int userinput = input.nextInt()</em>
<em />
Irrespective of whether userinput is negative or positive, it'll accept it.
Answer:
a form
Explanation:
it says the answer already in the question
Answer:
If a good friend comes to me for advice in pursuing a music career. With my knowledge of digital technology and the performing
arts, my advice to use digital technology to help build her career by <u>Delivering service to clients
.</u>
Explanation:
<u>There were several reasons for this:
</u>
• Being able to access work platforms and resources removed the need to travel back
to office bases because remote access allowed the completion of administrative
tasks where the practitioner was working.
• Working with clients in rural and isolated areas can prove difficult in terms of meeting
clients face to face and digital solutions helped to resolve this. This is because more
clients can be seen remotely than when practitioners must travel to see them.