I'm Sanka Rajakaruna...I'm a student of Rajarata university of Sri Lanka. I follow IT course at here.
ICT/2022/139 R.S.R. Ranathunga Tutorial 03 1) Swap two values stored in two different variables. 1. What output do you need to generate? Display A and B swapped value 2. What input do you have/ need? Input Number 1 as A Input number 2 as B 3. What form will it be in? Integer value of Number 1 Integer value of Number 2 4. Will the program have a list of tasks that needs to be done repeatedly (LOOP)? No 5. What are the other major tasks of the program? Input A Input B Declare “C” as Integer Assign A to C Assign B to A Assign C to B Display A, B 2) Check whether an entered number is negative, positive. 1. What output do you need to generate? Display message status of an entered number 2. What input do you have/ need? A number as x 3. What form will it be in? Numerical value 4. Will the program have a list of tasks that needs to be done repeatedly (LOOP)? No 5. What are the other major tas...
Comments
Post a Comment