Computer Science, asked by eburcham58, 9 months ago

what is the answer to 3.2 Code Practice: Question 2 on Edhesive?

Answers

Answered by Anonymous
17

Answer:

hope u will mark as brainlist

Attachments:
Answered by Rameshjangid
1

Answer:- our question number 2 on Edhesive is as follows:-

Question 2:- You need to test that if a number in grade is an A (greater than or equal to 90). If so print "Great!"

The solution to this is as follows:-

#This gets the grade from the user

grade = int(input("Grade: "))

#This tests if the user input is 90 and above

if grade >= 90:

#If yes, this prints Great!

print("Great!")

Or

The Answer is:-

#include <iostream>

using namespace std;

int main()

{

  int user_number=0;

  count<<"Enter a number ";

cin >> user_number;

if(user_number >= 90)

{

  count <<"Great";

}

return 0;

}

Hope this is helpful to you.

To know more about the given topic please go through tje following

Link1:- https://brainly.in/question/13174854?

Link2:- https://brainly.in/question/13174854?

#SPJ3

Similar questions