0% found this document useful (0 votes)
20 views1 page

Bvoc 2 Practical C++

bvoc c++

Uploaded by

Anonymous 46d04G
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
0% found this document useful (0 votes)
20 views1 page

Bvoc 2 Practical C++

bvoc c++

Uploaded by

Anonymous 46d04G
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
You are on page 1/ 1

create structure for sum up the number with following variables.

- Number1
- Number2
- Number3
if the sum is less than 50, give a message "Sum is less than 50", if it is greater
than 50, give a message "Sum is greater than 50",
if it is zero, "Sum is zero", else, "Sum is 50".
________________________________________________________________________________
Create structure for the students with following variable.
- Student id
- Student Name
- Subject Marks[5]
Get the above detail from the user and display it properly.
Also find the subject with maximum marks and minimum marks.
________________________________________________________________________________
Create a structure for the airthmatic operation with following variables.
- Number1
- Number2
Create different function for different airthmatic operation & display the value to
the user.
________________________________________________________________________________
Get name from the user.
- Calculate the character in name and display.
- Display the name two times by copying the original name.
________________________________________________________________________________
Get first name and last name from the user. Display it by merging both.
________________________________________________________________________________
Get the name from the user and display by converting it to upper case and lower
case.
________________________________________________________________________________
Create 2 two-dimensional array. Sum up their value and display it.

You might also like