Chapter # 4 (Conditional Control structure) LAB ACTIVITIES 1) Write a program that reads a number and prints its square if it is greater than 10. Ans: Program: #include<stdio.h> #include<conio.h> int main(int) { int n; printf(“\nEnter a number:”); scanf(“%d”, &n); if(n>10) printf(“\nThe square of %d is %d”, n, n*n); getch(); } Output: Enter a number:12 The square of 12 is 144. 2) Write a progr...
Posts
- Get link
- X
- Other Apps
Ja-Stan Tablet Why it's used Ja-Stan Tablet is used to relieve mild to moderate pain from a toothache, headache , muscle pain, injury, or pain after an operation or delivery. It is a prescription medicine. This medicine works by blocking the chemicals which generate pain signals in the body. This medicine helps by preventing the formation of pain causing signals in the body. Ja-Stan is also used to treat symptoms of painful menstrual bleeding . It is also used to treat abnormally heavy bleeding at menstruation . Ja-Stan is also used to relieve pain associated with swelling and stiffness of the joints caused by rheumatoid arthritis and osteoarthritis . Nonsteroidal Anti-inflammatory Drugs Ja-Stan belongs to a class of medicines called Nonsteroidal Anti-inflammatory Drugs . Nonsteroidal anti-inflammatory drugs, also called as NSAIDs , help reduce fever , decrease ...