Answer:
Following are the code in the C Programming Language.
//set integer datatype variable
int score;
//check condition is the score is in the range of 0 to 100
if(score > 0 && score < 100){
//print if condition is true
printf("Valid test scores");
}else{
//otherwise print the following string.
printf("test scores are Invalid");
}
Explanation:
<u>Following are the description of the code.</u>
In the following code that is written in the C Programming Language.
- Set an integer data type variable i.e., score.
- Then, set the if conditional statement to check the condition is the variable "score" is greater than 0 and less the 100.
- If the following statement is true then print "Valid test scores".
- Otherwise, it print "test scores are Invalid".
Formatting can maybe be applied to software works
Answer:
#include using namespace std;
cout << quotient;
Explanation:
not #include ; using namespace std;
; doesn't belong
cout << quotient
forgot the ; at the end