Data Type, Input, Output - 9

Problem Set 1.2: Exercise - Data Type, Input, Output [9]

  1. Print Multiple Lines of Text. (Print "Hello World", "Hello Universe", and "Hello Black Hole" in three different lines without the double quotation)

  2. I/O your Age. (Take input, give output once, and take Input and give output again using only one variable.)

  3. I/O your CGPA. (Take input, give output once, and take Input and give output again using only one variable.)

  4. I/O your Name Initial. (First Character of your name). (Take input, give output once, and take Input and give output again using only one variable.)

  5. I/O your Nickname. (Take input, give output once, and take Input and give output again using only one variable.)

  6. I/O your Full Name. (Take input, give output once, and take Input and give output again using only one variable.)

  7. I/O your Full Name, Your age, and Your CGPA print as follows:

    Hello, [Your Full Name] Your age is [Your Age] Your CGPA is [Your CGPA]

  8. Input one integer number (in a decimal number system) and print that number as an integer, decimal, octal, and hexadecimal (uppercase, lowercase) number system.

  9. Input one integer number (decimal/octal/hexadecimal) and print that number in the integer, decimal, octal, and hexadecimal (uppercase, lowercase) number system.

Last updated