Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need this in C programming. Create a program that asks user to enter his/her first name. (We assume user always enter correct name. Ignore
I need this in C programming.
Create a program that asks user to enter his/her first name. (We assume user always enter correct name. Ignore invalid case for this step.) asks user to enter a number grade that is between 0 to 100. 1. 2. If entered number is outside the range, tells user the number is invalid. Program continues If the grade is greater than or equal to 60, program prints "firstname, you pass the class." asking user to enter a grade, until user enters a valid number Otherwise, program prints "firstname, you fail the class.", where firstname is the name user entered in step 1. For example Trial 0 Trial 1 Trial 2 Output Enter your name! OutputEnter your name! Input Outut Enter your grade Output Enter your grade nput OutputEnter your mame Output Daniel, you pass the class. OutputYeehaw, you fail the class Inp (Manually close the program.) Output Enter your name Input Outpui Enter your grade Input Input (Manually close the program.) Daniel (enter) Daniel (enter) Yeehaw fenter) 3 (enter) 84 fenter) Input24 (enter) (Manually close the program.)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started