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
sattari [20]
4 years ago
6

Help with my robotics hw

Computers and Technology
1 answer:
Tamiku [17]4 years ago
7 0

Answer: 1: 50

2:

Explanation:

You might be interested in
Write a program that reads a sentence as input and converts each word to "Pig Latin". In one version of Pig Latin, you convert a
OLga [1]

Answer:

The program statement will be written using Microsoft Visual C# Console

string val,vall;

Console.Write("Enter Sentence :");

vall = Console.ReadLine();

val = vall.ToUpper();

string[] words = val.Split(' ');

string[] word = new string[words.Length];

int kount = 0;

string newword = string.Empty;

for (int i = 0; i < words.Length; i++)

{

if (words[i].Length > 1)

{

char[] ch = words[i].ToCharArray();

for (int j = 1; j < words[i].ToCharArray().Length; j++)

{

newword += ch[j];

}

newword += ch[0] + "AY ";

word[kount] = newword;

kount++;

}

else

{

newword += words[i] + "AY ";

kount++;

}

}

Console.WriteLine(newword);

Console.ReadLine();

Explanation:

The first line declares two variables of string data-type

Line 2 prints "Enter Sentence" without the quotes

Line 3 accepts the sentence to be converted to Latin

Line 4 converts the sentence to uppercase

Line 5 splits the sentence word by word

Line 6 creates an array variable

Line 7 creates and initialise a variable kount to 0

Line 8 creates another variable newword,this variable would be used as output variable

Line 9 creates an iterative process

Line 11 checks if the length of a particular word in the sentence is a greater than one

If yes,

Line 13 to 20 Moves the first letter to the last then appends AY then saved in newword variable

If no,

Line 24 - 25 appends AY directly to the word currently in the iteration then saved in newword variable

Line 28 prints the Latin word equivalent of the input sentence.

6 0
3 years ago
Which is the correct description of the first act in a classical game story structure?
Reil [10]
The 3-act structure<span> is an old principle widely adhered to in storytelling today. It can be found in plays, poetry, novels, comic books, short stories, video games, and the movies. It was present in the novels of Conan Doyle, the plays of Shakespeare, the fables of Aesop, the poetry of Aristotle, and the films of Hitchcock. It’s older than Greek dramaturgy. Hollywood and Broadway use it well. It’s irrefutable and bullet-proof, so to speak.

so this means its more basic antagonist protagonist set-up even if the protagonist and antagonist are "CUBES"</span>
5 0
4 years ago
What do you think is the meaning of the saying "Sticks and stones may break my bones, but words can never hurt me"? Do think tha
Alchen [17]

Answer:

Thing will come at you but you need to let them pass and keep going.

Explanation:

I think that saying is true.

5 0
3 years ago
How do films use camera shots?
lorasvet [3.4K]
These advanced camera shots, or angles, are used in film to convey an effect or emotion rather than exemplify a sense of space. Before filming, cinematographers will write out their shot list in order to plan how each scene of their film should be shot
7 0
3 years ago
Read 2 more answers
CSc 2720 - Data Structures: Assignment 1 [100 points] How to Submit: Turn the .java file in Folder Assignment 1 in iCollege no l
gavmur [86]
Hehehwkwjhdhebfhshshwjbrbr
5 0
3 years ago
Other questions:
  • Jim has excellent oral and written communication skills. He enjoys public speaking and wants a job in which he will interact wit
    10·2 answers
  • Technician A says that a ratio is a comparison between two values. Technician B says that in a compression ratio, the main value
    5·1 answer
  • A Windows user has been successfully saving documents to the file server all morning. However, the latest attempt resulted in th
    9·2 answers
  • 15 points
    5·2 answers
  • The e-mail address of any third party recipient of an e-mail belongs in which field?
    8·1 answer
  • Which describes a design theme in PowerPoint? a set of elements that unify the slides and complement the topic a printed handout
    11·2 answers
  • Organizational independence in the processing of payroll is achieved by functional segregations that are built into the system.
    6·1 answer
  • Why is it NOT a good practice to save everything on the desktop?
    6·2 answers
  • The spreadsheet below shows the age, grade level, major, and minor of four students in college. A purple background in the
    5·1 answer
  • What is ICT?Write down the uses of ICT​
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!