Wednesday, November 6, 2019

                                                                       E-BOX    

                               BASICS OF C PROGRAMMING   

Conditional Statements :-  Code Analysis

 PROBLEM  : 6

                                                               PROJECT

The Final year students have been allotted separate computers in  three different labs for their projects . The labs and projects are allocated based on the students CGPA in accordance with the following table. Can you help the HOD to allocate the labs to the students ???

 

CGPA

LAB

Below 6.3

Cryptography Lab

6.3-8.5

Networking Lab

Above 8.5

Research Lab

 

Input format:

Input consists of a floating point number corresponding to the CGPA of the student.

Output format:

Output consists of a string corresponding to the lab’s name.

Refer sample input and output for further formatting specifications.

 

Sample Input and Output:

[All text in bold corresponds to input and the rest to output]

Enter CGPA:

6.0

Cryptography Lab



SOLUTION : 




No comments:

Post a Comment

                                                 E-BOX                                                     BASICS OF C PROGRAMMING       i -...

https://amzn.to/2LAmadv