Question: c++ how would this code be done? NO JAVA OR PHY Given integers numScore1 and numScore2, output numScore1 is less than or equal to 30
Given integers numScore1 and numScore2, output "numScore1 is less than or equal to 30 : if numScore1 is less than or equal to 30. End with a newline Assign numScore2 with 1 if numScore2 is greater than 20 . Otherwise, output 'numScore2 is less than or equal to 20. End with a newine. Ex: If the input is 1520, then the output is numscore1 is less than or equal to 30 . numscorez is less than or equal to 20. numscore2 is -20 . 1 \#include ciostreams 2 using namespoce std; int mainO \{ int numScore1; int numscore2; cin > numscore1; cin numScore2; 1/* Your code goes here */ cout "num5core2 is " num5core2 "," endt; return o
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
