PERFORM GET_ NUMBER 10 TIMES
AVERAGE = AVERAGE/10
GET_NUMBER:
INPUT = a$
AVERAGE = AVERAGE + INPUT
begin enter Principal amount(Input) enter interest rate(Input) calculate simple interest(Computation/Processing) Display/Show/Print Give sound Simple Interest(output) end By Tomas Naxweka(Namibia)
$vi sum.sh echo "enter the 1st no." read num1 echo "enter the 2nd no." read num2 sum= 'expr $num1 + $num2' echo "sum of the numbers is $sum"
Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end
#include using std::cout;using std::cin;using std::endl;int main(){double firstNumber = 0;cout > firstNumber;double secondNumber =0;cout
53.95 is the average ENTER score for VCE students
You can use the AVERAGE function.In the cell where you want the average to appear, enter the formula [ =AVERAGE(R1:R200) ]or whatever range contains the numbers you want averaged.
Worksheets allow users to enter, calculate, manipulate, and analyze data such as numbers and text. Worksheets means the same as spreadsheets.
Pick a cell in which to enter your formula Type: =average( then highlight the cells you wish to average. Press enter.
flowchart (start) < x=0 y=0> / print " enter two numbers" / | sum=x+y| / print the sum / (stop) c program #include<stdio.h> main() { int x,y,sum; clrscr(); printf("Enter two numbers\n"); scanf("d",&x,&y); sum=x+y; printf("sum=%d",sum); getch(); }
begin enter Principal amount(Input) enter interest rate(Input) calculate simple interest(Computation/Processing) Display/Show/Print Give sound Simple Interest(output) end By Tomas Naxweka(Namibia)
Convert this in flow chart and see if it can help Start Display "Enter 2 numbers" Accept 2 numbers A & B Divide the A with B Is result Zero? ---- No - A is not Dividable with second Yes - A is Dividable with second End
With paper a pencil and a flowchart symbol template. You might try reading your text book and learning how to do this yourself.
Put the 10000 numbers into cells, say from A1 to A10000 and then enter the following formula into a cell: =AVERAGE(A1:A10000)
Insert Call box and enter Set_Precision (6)
$vi sum.sh echo "enter the 1st no." read num1 echo "enter the 2nd no." read num2 sum= 'expr $num1 + $num2' echo "sum of the numbers is $sum"
Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end
Enter 1st number in A1 Enter 2nd number in A2 In A3 enter =(1-A2/A1)*100 Or you can enter in A3 =(1-A2/A1) and format cell as number percentage