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
Shkiper50 [21]
3 years ago
14

Write a program that prints the following text: In C, lowercase letters are significant. main() is where program execution begin

s. Opening and closing braces enclose program statements in a routine. All program statements must be terminated by a semicolon.
Computers and Technology
1 answer:
hodyreva [135]3 years ago
7 0

Answer:

Program:

#include <stdio.h> // header file

int main() // main function

{

   printf("In C, lowercase letters are significant. main() is where program execution begins. Opening and closing braces enclose program statements in a routine. All program statements must be terminated by a semicolon."); // print statement which print the text which is said by the question to print.

return 0; // return statement

}

Output:

  • The above code print the text which is defined by the question to print

Explanation:

  • The above code is in the c programming language.
  • The first line of the code is a header file which is used to specify the meaning of the symbols used in programs.
  • The second line of the code is the main function, from which the execution will starts.
  • The third line of the code is the print statement which prints the above text.
  • The fourth line of the code is a returned statement that returned 0 from where the function is called.
You might be interested in
A company that connects through your communications line to its server, which connects you to the Internet, is a(n)
hammer [34]
Internet server provider
4 0
4 years ago
PLZ HELP IM DOING 2 other 100 work and I’m running out of time for school 1. Imagine you are a screenplay writer Discuss some po
Alexus [3.1K]
My mans this is to long to read ); I got u tho lemme pick
5 0
3 years ago
How many output values are indicated in the following requirement?
Licemer1 [7]

Answer:

The requirement indicates 3 output values.

Explanation:

The program is asking for:

  • Wind speed.
  • Current temperature.

Now, the program will calcule the wind chill temperature.

The program will display(output values) a chart with:

  • Wind speed.
  • Temperature.
  • Wind chilll.

6 0
3 years ago
Design and code a Swing GUI to translate text that is input in english into pig latin. You can assume that the sentence contains
Whitepunk [10]

Answer:

Code given below

Explanation:

import javax.swing.*;

import java.util.*;

import java.awt.*;

import java.awt.event.*;

public class PigLatin extends JFrame

{

private JLabel prompt;

private JTextField input;

private JTextArea output;

private int count;

public PigLatin()

{

super( "Pig Latin Generator" );

prompt = new JLabel( "Enter English phrase:" );

input = new JTextField( 30 );

input.addActionListener(

new ActionListener() {

public void actionPerformed( ActionEvent e )

{

String s = e.getActionCommand().toString();

StringTokenizer tokens = new StringTokenizer( s );

count = tokens.countTokens();

while ( tokens.hasMoreTokens() ) {

count--;

printLatinWord( tokens.nextToken() );

}

}

}

);

output = new JTextArea( 10, 30 );

output.setEditable( false );

Container c = getContentPane();

c.setLayout( new FlowLayout() );

c.add( prompt );

c.add( input );

c.add( output );

setSize( 500, 150 );

show();

}

private void printLatinWord( String token )

{

char letters[] = token.toCharArray();

StringBuffer schweinLatein = new StringBuffer();

schweinLatein.append( letters, 1, letters.length - 1 ) ;

schweinLatein.append( Character.toLowerCase( letters[ 0 ] ) );

schweinLatein.append( "ay" );

output.append( schweinLatein.toString() + " " );

if ( count == 0 )

output.append( "\n" );

}

public static void main( String args[] )

{

PigLatin app = new PigLatin();

app.addWindowListener(

new WindowAdapter() {

public void windowClosing( WindowEvent e )

{

System.exit( 0 );

}

}

);

}

}

5 0
4 years ago
What is a key differentiator of Conversational AI? It implements Natural Language Understanding (NLU) and other human-like behav
Pavel [41]

Answer:

c

Explanation:

4 0
3 years ago
Other questions:
  • Which type of topology describes the physical arrangement, installation, and connection of cables, computer, and other devices?
    10·2 answers
  • Sample Run 1 Enter your word: zebras Enter a number: 62 Password not long enough. Sample Run 2 Enter your word: newyorkcity Ente
    12·1 answer
  • g Write a program that prompts the user for an integer n between 1 and 100. If the number is outside the range, it prints an err
    5·1 answer
  • In modern web design, color, font, font size, and style should be declared using:
    5·1 answer
  • ____ are likely in the event of a hacker attack, when the attacker retreats to a chat room and describes in specific detail to h
    5·1 answer
  • 11. You tried to turn on your desktop computer, but your desktop computer would not even turn on. You pressed the power button,
    8·1 answer
  • HURRY HELP THIS IS FOR CODING !!!! What are some real-life situations that require a program that is iterative? Include at least
    6·2 answers
  • 15. It is the process of capturing data or translating information to recording format
    12·1 answer
  • Which shortcut keys can be used to duplicate a slide?
    15·1 answer
  • Why would a business consider using virtual machines?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!