struct
struct
length (Double)
width (Float)
QUESTION#2
Write a program that takes user input for student name and marks then tell the gpa
according to respective marks.
Create a struct named student containing student name(string) and marks(int).
Use a function to allocate gpa according to marks.
Create another function to display student name and gpa.
QUESTION#3
employeeID (Integer)
firstName (String)
lastName (String)
salary (Float)
QUESTION# 4
name (String)
marks (Float)
Write a program to input data for 5 students, store them in an array of structs, and then sort them
based on their marks in descending order.
Question#1 Create a class Rectangle that stores the length and width of a rectangle and
includes:
Question #2 Create a class Student that stores the student's name, roll number, and marks. The
class should:
accountNumber (String)
balance (Double)