Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C program that includes the following: 1. (6 points) A function called CheckID, which receives a string as an input, and checks whether

image text in transcribed
Write a C program that includes the following: 1. (6 points) A function called CheckID, which receives a string as an input, and checks whether it is correct student ID or not. Note: For a string to be a correct ID it should be 10 characters long and starts with "GJU. 2. (7 points) The main function, which lets the user input a string and call the function CheckID to check if the string is correct student ID or not. If the entered ID is correct, the program should classify the student by evaluating his/her ID, as follows: The ID ends in 18. display "Third year student". The ID ends in 19. display "Second year student". The ID ends in 20, display "First year student

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

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Determine whether the following series converge. (-1)* k In? k k=2

Answered: 1 week ago