[SOLVED] CSE341 Assignment 2

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Lab02-ltrxgw.zip (520 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
đź”’ Securely Powered by:
Secure Checkout
Rate this product

Assignment 02

Task 01
Take two numbers as input, multiply them, print the message “The Output” and

then display the result in the next line.

Sample Execution

1 (1st input) 2 (2nd input) The result is 1

Task 02

Take a Lowercase letter as input from the user (omit error checking, so you do not have to write code for checking whether the user is inputting upper case or lower case), and display it at the next position on the next line in Upper case.

Sample Execution 1: A

a

Sample Execution 2: B

b

Task 03

Write a program to: (a) prompt the user, (b) read first initial, then the middle, and then the last initial of a person’s name, and then (c) display them in a single line down.

Sample execution:
Enter First Initial: S Enter Second Initial: F Enter Third Initial: L

SFL

Task 04

Write a program to read one of the hex digits A-F, and display it on the next line in decimal.

Sample execution:
ENTER A HEX DIGIT: C IN DECIMAL IT IS 12

  • Lab02-ltrxgw.zip