Docsity

Programming Fundamental (C++) Lab task 02, Assignments of Programming Languages

Partial preview of the text

Download Programming Fundamental (C++) Lab task 02 and more Assignments Programming Languages in PDF only on Docsity!

  • Lab:

Lab_Task_2.1: Performs the following tasks:

ļ‚· Declare an integer a, float b and character c variable ļ‚· Assign 5, 2.5 and ā€˜H’ to integer, float and character respectively ļ‚· Display output as shown below.  My Name Is…  I am student of software engineering  Value of a, b and c are: 5, 2.5 and H

Lab_task_2.3: Receive integer and float values from user and display it to the

user.

Lab_task_2.4: Take character value from user and display it on the console

screen.