answersLogoWhite

0


Best Answer

SUM = 0: FOR N = 1 to 100: SUM = SUM + N: Next N: PRINT CHR$(11); "Sum ="; SUM: END

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a shell program that Adds the integers 1 to 100 and dislay a message?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program in C for arithmetic operations between two integers your program should guide users with proper message or menu on the console?

Write a program in C for showing working of different logical operator in C.Your program should guide users with proper message/menu on the console. (5 Marks)


Write a program in c that prompt user with following lines add two integers test an integer for odd or even and quit?

write a program in C that prompts the user with the following lines: a) Add two integers c) Compare two integers for the larger t) Test an integers for odd or even q) Quit


Writes a c program to find the sum of all integers between 1 and n?

Write a program to find the number and sum of all integers from 100 to 300 that are divisible by 11


Write a pseudocode for a program that accepts two integers and substract 5 from the answer?

1. Accept the 2 numbers 2. Add the 2 numbers3. Compare answer with 54. If answer is greater than 5 subtract with 5 else give a error message.


Write a c plus plus program to compute two integers?

int x= 1; int y= 2;


Write a statementin a java program to read 2 integers and dispay the number of interagers between them?

a=153 a=n%10;


Write a program in java to display a string message using Servlets?

i dont no string for servlate


What are the two things you should write down if you get an error message on the computer?

Write down the entire error message. Also, list what you were doing before you got the error. Include the program you were working in.


Write a shell program that adds the integers 1 to 100 and displays the result with a suitable message?

#!/bin/bashs=0c=1while [$c-le 100]dos='expr $s + $c'c='expr $c + 1'doneecho "Sum of 1 to 100 is $s"


Write a program in pascal that declares two integers and gives there sum?

This is not a question so you do not need to use a question mark at the end of your sentence.


Write a PHP program to read and write a text file?

Oh this is easy =PLets say or file is "file.txt"


Write a c program to find GCD of two given integers by using both recursive n non recursive functions?

i love u darling