#include<stdio.h>main()
{
float x,y,d; //x&y are numbers &d is division
printf("Enter 2 numbers separated by space");
scanf("%f%f",&x,&y);
d=x/y;
printf("Answer is %f",d);
return 0;
}
How to write a program for mouse in microprocessor?
Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.
if n MOD 2 == 0 THEN Write ("Even");
Floor division is division where the answer is rounded down. For example, 5/2 in floor division is not 2.5, but 2. In Python 2, floor division is the default. In Python 3, the floor division operator is //. Python 2: >>> 5/2 2 >>> 5.0/2 2.5 Python 3: >>> 5/2 2.5 >>> 5//2 2
seq 1 2 99
Write a program to convert a 2-digit BCD number into hexadecimal
WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL
you can write a division sentence by writing lets say 20/2. You have to have a big number first like 20 then a division sign / then a smaller number that goes in to the numbe 20 which can be 2 then you put an equal sign = then the answer which is 10. that's how to right a division sentence.
Data = values that a program can use.Ans.2: = A Program is the set of instructions.
How to write a program for mouse in microprocessor?
int divide1(int a,int b) { int t=1; while(b*t<=a) { t++; } return t-1; }
a=a+b; b=a-b; a=a-b;
#include#includemain(){clrscr();coutb;cout
Write a simple program in finding roots x^3-6x^2+11x-6.1=0
The NCAA allows each Division 1 Men's Basketball program 13 Scholarships and in Division 2, 10 are available. For Women's basketball 15 Scholarships are offered in Division 1 and 10 in Division 2. from collegescholarships.org
#include <stdio.h> int main (void) { puts ("4"); return 0; }
Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.