Menu Bar

Problems in C++

Declare string variable and assign your name and display your name.

Code:



Compile & Run:





Assign your name to 3 different variables Surname, Firstname, Lastname and display your full name.

Code:



Compile & Run:





Display sum of two numbers.

Code:



Compile & Run:






Display highest number in the given two numbers.

Code:



Compile & Run:




Ask the user to enter two numbers and display the sum of the two numbers.

Code:



Compile & Run:





Find the highest of the given two number and display it.

Code:



Compile & Run:





Ask the user to enter 3 numbers and display the largest number in that 3 number.

Code:



Compile & Run:





Ask the user to enter a number and display the multiplication table of that number.

Code:



Compile & Run:





Write a function to add two numbers.

Code:



Compile & Run:





Write a function to display multiplication table.

Code:



Compile & Run:






Write a array to display our team names.

Code:



Compile & Run





Multidimensional array to display name and number.

Code:



Compile & Run:





Write a program to display highest repeated letter in a string.

Code:




Compile & Run:






Reading data from a file:

Text file:



Code:



Compile & Run:





Writing data into a file:

Code:



Compile & Run:



Text file:





Write your name to text file and read from text file and display it.

Code:



Compile & Run:



Text file:





Write a program to display this below pattern.

Pattern:



Code:



Compile & Run:






Write a program to display highest number among the given list of numbers.

Code:



Compile & Run:





Write a program to display string reverse.

Code:



Compile & Run:






Write a program to display prime numbers.

Code:


Compile & Run: