Question Question Please help fix this is my program and the errors I got #include using namespace std; int main () { int x cout <> x; cout <99.8) cout << "seems to have fever." <<endl; else cout << "dose not have a fever."<> x; ^ module_4_new_prob02_starter.cpp:16:1: error: expected ‘;’ before ‘}’ token } ^ ================================================== Running Test 1 ../resource/scripts/run.sh: line 5: ./a.out: No such file or directory ==================== YOUR OUTPUT ===================== 0001: [NONE] =================== MISMATCH FOUND ON LINE 0001: =================== ACTUAL : [NONE] EXPECTED: Please~enter~the~patient’s~temperature:~100 ====================================================== Adjust your program and re-run to test. I got #include using namespace std; int main () { int x cout <> x; cout <99.8) cout << "seems to have fever." <<endl; else cout << "dose not have a fever."<> x; ^ module_4_new_prob02_starter.cpp:16:1: error: expected ‘;’ before ‘}’ token } ^ ================================================== Running Test 1 ../resource/scripts/run.sh: line 5: ./a.out: No such file or directory ==================== YOUR OUTPUT ===================== 0001: [NONE] =================== MISMATCH FOUND ON LINE 0001: =================== ACTUAL : [NONE] EXPECTED: Please~enter~the~patient’s~temperature:~100 ====================================================== Adjust your program and re-run to test.
Question
Please help fix this is my program and the errors I got
#include
<iostream>
using namespace std;
int main () {
int x
cout <<“Please enter patint’s temperature.”;
cin >> x;
cout << “The patient “;
if(x >99.8)
cout << “seems to have fever.” <<endl;
else
cout << “dose not have a fever.”<< endl;
return 0
}
module_4_new_prob02_starter.cpp:7:12: error: ‘x‘ was not declared in this scope
cin >> x;
^
module_4_new_prob02_starter.cpp:16:1: error: expected ‘;‘ before ‘}‘ token
}
^
==================================================
Running Test 1
../resource/scripts/run.sh: line 5: ./a.out: No such file or directory
==================== YOUR OUTPUT =====================
0001: [NONE]
=================== MISMATCH FOUND ON LINE 0001: ===================
ACTUAL : [NONE]
EXPECTED: Please~enter~the~patient’s~temperature:~100
======================================================
Adjust your program and re-run to test.