• Tidak ada hasil yang ditemukan

Assignmentbyharrrrrrrr

N/A
N/A
haris zaffar

Academic year: 2023

Membagikan "Assignmentbyharrrrrrrr"

Copied!
15
0
0

Teks penuh

(1)

Subject: Programming Fundamentals(PF) Submit to: Sir Nadeem

Submitted by: Haris Zafar

Task 1: Write a program to swap value of two variables without using third variable.

(2)
(3)

Task 2: Write a program which accepts days as integer and display total number of years, months and days in it.

(4)
(5)

Task 3: Write a program in C++ to compute quotient and remainder.

(6)
(7)

Task 4: Write a program in C++ to verify that the entered number is EVEN or ODD by using ternary operator. Output should like.

(8)

ODD

(9)

Even

(10)

Task 5: Write a program to swap value of three variables without using fourth variable.

(11)
(12)

Task 6: Write a program which accept temperature in centigrade and print it in Fahrenheit.

(13)
(14)

Task 7: Write a program which accept temperature in kelvin and print it in centigrade.

(15)

Referensi

Dokumen terkait

The classroom action research is limited by two variables, namely the variable of the low daily score of civic education subject and the learning process using a two

Variables coefficient std. Error t-Statistics Prob. Calculated prob value of Growth Rate Economy as big 0.0527 means score the more big from level significant so this variable

The input variables at the initial states of the traces of a program store the values of its input data: we write σ[0]i to denote the value of the input data stored in the input

Based on the research value of the correlation index for the relationship between the independent variables compensation, motivation, and job satisfaction and the dependent variable

„ Write values example: rotate the display of temperature sensor TS720-…-H1141 180°, set the measurement update time to 200 ms: Control variables as follows: Variable Value Meaning

The results of this study prove that the BNI Syariah variable does not have a significant influence on the service, trust and promotion value variables because the tcount value of the

Adjusted R Squared Based on the test results, the obtained value from an adjusted R squared was 0.589 meaning that the variable of buying interest can be explained by variables of

Factor influencing LGBT stigma on the teenagers Independent Variables Dependent Variable P Value Interpretation Knowledge Stigma LGBT on Teenagers 0,00 Related Attitude 0,4 Not