#include <stdio.h>
#include<conio>
void main ()
{int a,i:,
printf("\n The Multiplication table of 5 is n"):,
For(i=1;i=20;i++)
Printf("%d",a*i);
getch();
}
Write a program which takes the temperature in farhenheight.the program should display the farhenheight temperature as well as centigrade. C= (f-32)*5/9
#include#includevoid main(){ int a,i;printf("\nThe Multiplication table of 5 is:\n");for(i=1;i
Write a program which takes the gender and salary ,the age from user. the program should calculate and display the following information. i. If gender is male and age is greater >=18,then the tax =5%of the salary. ii. If gender is female and age is >=18,then tax=3%of salary. The program should display the output as follows: Gender = Age = Tax = Salary before tax = Salary after tax =
printf("1 3 5 7 9\n");
Input and output should be trivial; the core of it is: m = (n5Note: it is not the same as m = n>>2
Write a program which takes the temperature in farhenheight.the program should display the farhenheight temperature as well as centigrade. C= (f-32)*5/9
#include#includevoid main(){ int a,i;printf("\nThe Multiplication table of 5 is:\n");for(i=1;i
A visual display of data is a table or a graph.
Write a program which takes the gender and salary ,the age from user. the program should calculate and display the following information. i. If gender is male and age is greater >=18,then the tax =5%of the salary. ii. If gender is female and age is >=18,then tax=3%of salary. The program should display the output as follows: Gender = Age = Tax = Salary before tax = Salary after tax =
printf("1 3 5 7 9\n");
nr\m;laeoh9y0m g.qthnedxc In fortran: do i=1,5 write(6,*)i enddo stop end This program will write the numbers 1 to 5 on the screen.
Input and output should be trivial; the core of it is: m = (n5Note: it is not the same as m = n>>2
Cls print the multiples tables of 1 to 5 for x=1 to 5 for y=1 to 10 print x;"*";y;"=";x*y next y print print next x end
For each rule draw a table with 5 rows and 2 columns. At the top of each table write a caption denoting which rule applies to that particular table. In the top row of each table write the letter "X" in the first column and the letter "Y" in the second column. Now for each table in the first column in rows 2,3,4, and 5 write the values of X that apply to the experiment. Now apply the rule for each value of X for a particular table (particular rule) and write the value of Y (obtained by observation or calculation) in the corresponding column
Using while loop, write a program which calculates the product of digits from 1 to 5 and also show these no's vertically.
1. write a 'c' program to read 4(four)numbers from a file 'BANK' and calculate the average of the numbers.Now print the calculated average in another output file 'AVERAGE' 2. write a 'c' program that finds the sum and average of inputted five integer numbers of the array using dynamic memory allocation function malloc(). 3. write a 'c' program to create simple elements 1,2,3,4 in the link list of 4(four)nodes and display the list's elements. 4. write a 'c' program to convert the expression (A+B)/(C+D) into postfix expression into stack.and then evaluate it for A=10,B=20,C=15,D=5 and display the stack status after each operation. 5. write a 'c' programto create a linked list implemented on an array containing the following numbers:1,2,3,3,3,4,4,9 and pack it to remove the duplicate numbers.so that only the following data are contained by the nodes:1,2,3,4,9
here- class tableof5 { public static void main() {int i; for(i=1;i<=10;i=i+1) {System.out.println("5"+"*"+i+"="+i*5); } } }