answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you prepare a program in basic to display the word and the number of letters in it when is given as input?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 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 the name of days when a user enters a number?

write a program to display your name age class schoolname e-mail 2hobby based on choice


What indicates the number of pixels that a computer uses to display the letters numbers and background on a screen?

pixels


Screen resolution indicates the number of that the computer uses to display the letters numbers graphics and background you see on the screen.?

pixels


Screen resolution indicates the number of that the computer uses to display the letters numbers graphics and background you see on the screen?

pixels


Write a program in shell script to display odd number from 0 to 100?

seq 1 2 99


An assembly language program that will take three decimal input and display minimum of them?

program that take three decimal number as input and find the largest among them in assembly language


Write a java program to display the number is prime or not?

Simply use a for loop (i) that runs from 2 to N-1. Checking if N % i 0 then its a prime number.


How do you make a program that display odd number from one to twenty in c plus plus?

for (int i=1; i<20; i+=2) printf ("%d\n", i);


How can I write a program to display prime numbers from 1 to 100?

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.


Program to count the number of characters and words in the line?

in linux wc -l filename will count the lines and wc will count the letters


C program to display a number entered by user as it is without skipping the zeros preceding the number?

// 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);