1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Zina [86]
3 years ago
7

You will write a flowchart and C code for a program that does the following:Call three functions from main(). The functions are

named first(), second(), and third(). Each function prints out its name ("first," "second," "third."). After all three functions are called, the main() function should print "End of program."
Computers and Technology
1 answer:
Vitek1552 [10]3 years ago
8 0

Answer:

#include <stdio.h>

void first() {

   printf("first\n");

}

void second() {

   printf("second\n");

}

void third() {

   printf("third\n");

}

int main() {

   first();

   second();

   third();

   printf("End of program.\n");

   return 0;

}

You might be interested in
Write a modular program that allows the user to enter a word or phrase and determines whether the word or phrase is a palindrome
Ostrovityanka [42]

Answer:

import java.util.Scanner;

public class num10 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter a word");

       String word = in.nextLine();

       String reversed = "";

       //Get the length of the string entered

       int length = word.length();

       //Loop through the string and reverse th string

       for ( int i = length - 1; i >= 0; i-- )

           reversed = reversed + word.charAt(i);

       //Compare the two strings "word" and "reversed"

       if (word.equals(reversed))

           System.out.println(word+" is a palindrome");

       else

           System.out.println(word+" is not a palindrome");

   }

}

Explanation:

Since we know that a palindrome word is a word that reads the same forward and backward, The Idea here is:

  • To obtain a word from a user.  
  • Use a for loop to reverse the word and store in another variable
  • Use if....else to compare the two strings and determine if they are equal, if they are equal then the word is palindrome.
6 0
4 years ago
Animal wisdom/ the last wolf .compare and contrast the overall feeling of each poem
masha68 [24]
List the poem please. I won’t be able to answer without it.
3 0
3 years ago
The first popular personal computer with a graphical user interface was the Apple Macintosh. Compaq Presario. IBM PC. NeXT works
Pavlova-9 [17]

Answer:

The answer is the Apple Macintosh

Explanation:

The Apple Macintosh PC was the first widely sold and most popular PC with a GUI. It was based on its earlier predecessor called the Apple Lisa which was later killed by the Apple Macintosh OS. Prior to the Apple Macintosh was the Xerox PARC which was the first PC to support an OS that was based on GUI. However, the Xerox was not a popular commercial product  and was intended for University research only

7 0
3 years ago
Suppose that a local area network requires seven letters for user names.​ lower- and uppercase letters are considered the same.
Naddik [55]
<span>If a user name can have seven letters (with no distinction between upper and lower case), and if a letter can be repeated, then the maximum number of names is 26x26x26x26x26x26x26, or 8,031,810,176. That is, slightly more than eight billion names are possible.</span>
6 0
3 years ago
Hey! PLEASE HELP!!!
Solnce55 [7]

Answer:

change your computer date/skip the videos

Explanation:

hi there!  i've been using brainly for free for some time and found that there a few ways to bypass some of their free member restrictions.

first off, there's really not an easy way to skip the video, unless you want to get technical.  however, i've found that you can drag on the grey video bar on the bottom of the ad to skip to the very end, thus getting you the answer you need very quickly!

also, brainly has a 7 day answer restriction in place, which you can easily bypass by changing the date on your computer!  an easy way to do that is to hit the Windows key and type "date", after which a setting will pop up that reads "Date & time settings".  click on that or hit enter. then, tick off the slider that says "Set time automatically", and go down to "Set the date and time manually", after which you'll hit "Change" and change the day to a couple days in the future.  give it a second, refresh the brainly tab or re-search up your answer, and you should get a lot more daily answers!  one thing i must say about this method is that your computer's date will no longer be accurate. to fix this, you'll have to re-tick the slider that reads "Set time automatically", and it should fix your clock.

one more thing is that, instead of sending your parent an email, you can try to send yourself that email! unless it's an advertisement for buying brainly premium, there also should be no reason to even send the email in the first place, so try to bypass that when you can.

i hope this helps you!

4 0
3 years ago
Other questions:
  • Pressing the Ctrl+Home keys moves the insertion point to the
    5·1 answer
  • Need answer quick
    9·1 answer
  • Which statement BEST describes the benefits of muscular fitness training? A. High levels of muscular fitness can improve your se
    6·1 answer
  • The GeForce GTX 1060 graphics card requires 120 W of power. You plan to install it in a PCIe 3.0 ×16 slot. Will you need to also
    13·1 answer
  • Next, Sue decides to embed a chart from Microsoft Word. She copies and pastes data from a table that she has already created in
    8·1 answer
  • Provide three examples of software projects that would be amenable to the waterfall model. Be specific.
    11·1 answer
  • Write a C function which takes three parameters which are the cost for an item in a grocery store, the quantity to buy, and the
    12·2 answers
  • Date Class Constructor – assigns fields to appropriate formal parameter – using the setters so error checking will occur. The co
    6·1 answer
  • Consider legal issues and intellectual property concerns when creating computer programs?
    11·1 answer
  • Pls anyone answer this Resource sharing is the need of network because?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!