Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(20%) Write a complete program that shall prompt the user to enter one floating-

ID: 3564429 • Letter: #

Question

(20%) Write a complete program that shall prompt the user to enter one floating-point number and print negative (less the quotes) if the number negative, positive (less the quotes) if it is positive or zero (less the quotes) if it is a zero. 12. (8%) The variables GPA and fulltime have been previously initialized somewhere in the program and contain a student's GPA (as a floating-point number in the range between 0.0 and 4.0, inclusive) and whether the student is a full-time student (as a boolean value). Write one expression that is true for any full-time student whose GPA is no less than 2.0, but false for any other student.

Explanation / Answer

11)

#include<iostream>
using namespace std;
int main(){
float value;
if(value < 0)
cout << "negative << endl;
else if(value > 0)
cout <<"positive " << endl;
eles
cout <<"zero" <<endl;
return 0;
}


12)


fulltime && (GPA>=2.0);