Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program in C that will ask for the input from the user for the following information. -School - a string from 2 to

Write a program in C that will ask for the input from the user for the following information.

-School - a string from 2 to 64 characters.

-state - a two character abbreviation for home state (e.g. AL, CA)

-Class - Two or three characters 'FR', 'SO', 'JR', 'SR', 'GR', or 'RFR', 'RSO'... ect.

-Position - A string of at most 3 characters. All must be capital letters.

-Stars - An integer 0 to 5 for rating which will display as '***' for 3 stars.

This program should display an error message should an invalid entry be entered.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions