10 cls
20 input"enter word";word$
30 print word$
40 print len(word$)
50 end
this program is for GW BASIC for other BASIC's the line numbers are optional.
The only number that matches the number of letters it has. Four letters for the number 4.
It depends on the type of calculator you have. If you have a 8-digit calculator, the largest square number you can display is 99,980,001. If you have a 10-digit calculator, the largest square number you can display is 9,999,800,001. With a TI-84, you can display 9.999999999e99 (which is actually rounded).
september
It reduces the number of digits after the decimal point in the display, rounding the number as appropriate.
11
Write a program which takes any number of days from the user. the program should display the number of years, number of months formed by these days as well as the remaining days.
write a program to display your name age class schoolname e-mail 2hobby based on choice
pixels
pixels
pixels
seq 1 2 99
program that take three decimal number as input and find the largest among them in assembly language
Simply use a for loop (i) that runs from 2 to N-1. Checking if N % i 0 then its a prime number.
for (int i=1; i<20; i+=2) printf ("%d\n", i);
Write a function that implements an algorithm that checks to see if a particular integer is prime (returning a boolean). Write a program that uses that function on each number from 1 to 100, and if true, displays that number.
in linux wc -l filename will count the lines and wc will count the letters
// Define and initialize input buffer char inputBuffer[256]; memset(inputBuffer, '\0', 256); // Get input scanf("%s", inputBuffer); // Display exactly what the user typed in printf("%s\n", inputBuffer);