You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Problem: Given float lengthCentimeters, if the length is longer than 19.9 centimeters and shorter than 98.1 centimeters, output "Approve". Otherwise, output "Pass". End each output with a newline.
*/
#include <iostream>
using namespace std;
int main() {
float lengthCentimeters;
cin >> lengthCentimeters;
/* Your code goes here */
if (lengthCentimeters > 19.9 && lengthCentimeters <= 98.1)