science

posted by .

Write a complete C program that asks the user to enter continuously a series of words and the
word “end” to stop.
For each word entered, you should output the number of characters of this word and then ask him
to enter the other word.
Finally, when he finished entering all the words, you should output the number of words entered
(excluding “end”)

  • science -

    I wont write it for you, but I caution you on looking for "end" you do not find "end" in tend, or friend, or such.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. C++

    Using C++ (if, char or Boolean) Write a program that asks the user for a two digit number and then prints the English word for that number. Sample run: Enter a two-digit number: 45 You entered the number forty-five. PLAN: Read the …
  2. programming 2

    Write a program that inputs a word representing a binary number (0s and 1s). First, your program should verify that it is indeed a binary number, that is, the number contains only 0s and 1s. if that is not the case, your program should …
  3. C++ programming computer

    I'm having some trouble trying to program these problems and putting them into the main function. Please help me by giving some advice or website that offer good information for me. The questions are below here: 1. Write a function …
  4. computer

    Write a menu driven program that either accepts words and their meanings, or displays the list of words in lexicographical order (i.e. as in a dictionary). When an entry is to be added to the dictionary you must first enter the word …
  5. comp.sci-python

    For this option, first ask the user what the maximum number of columns for printing will be. ("How wide should the output be?
  6. computer sicence C++

    Americans spell differently from Canadians. Americans write "neighbor" and "color" while Canadians write "neighbour" and "colour”. Write a program to help Americans translate to Canadian. Your program should interact with the user …
  7. computer science programming

    Elements – sequence-series outputting Write a program that prints the following elements: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, (hereto referred to as elements) etc., up till a user-entered value. The program should not print more than …
  8. programming logic and design

    Using pseudocode or a flowchart write a program that does the following: Allow the end user to enter the category the ad will appear in (ex. Automobiles), Number of words and Customer Name Calculate the cost based on 50 cents per word …
  9. programming and visual basics

    Using pseudocode or a flowchart write a program that does the following: Design the logic for the game Hangman, in which the user guesses letters in a hidden word. Store the letters of a word in an array of characters. Display a dash …
  10. java programming

    1. Time Calculator Write a program that asks the user to enter a number of seconds. • There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or equal to 60, the program should display the number …

More Similar Questions