‹ back to Programming C++

AssignmentProgramming C++ · 18 December 2015

C++ Assignment 3

UntitledWrite a function called zero_small() that has two integer arguments being passed by reference and sets the smaller of the two numbers to 0. Write the main program to access the function

 

Write a C++ program using function which accept two integers as an argument and return its sum. Call this function from main( ) and print the results in main( ).

 

 

Write a C++ program that have four functions  for calculating square , circle , rectangle and triangle. Depending upon user input , the program will only show one out put , as per required by the user

 

Make a program that takes any small charterer as input and convert it inot to capital alphabet 

Example

a–> A  

Function is not required here
Write a program which accepts a character and display its next character

 

Using  functions make a program  that can take 5 different subjects marks and can assign a grade to students depending upon the percentage obtained.

Number of students are 10 .

You should make two function for this program , percentage calculator and gpa calculator , and should use them  in your program

 

Assignment Submission Instructions

. Copy paste all codes to a single word file. Also take snap shots of  your out put and paste it in same word file . and submit it by your name

Please click here to submit

First published on fatsup.wordpress.com ↗