499 Answered Questions for the topic computer engineering

04/19/21

Read Text. Write a program that reads one character at a time and prints them out without spaces until it hits a period. Do not print the period.

Write a program that reads one character at a time and prints them out without spaces until it hits a period. Do not print the period.Input of:H e l l o .should result in output... more

04/19/21

Squares Adder. Write a program that reads in a number (integer) indicating how many values you are to read.

Write a program that reads in a number (integer) indicating how many values you are to read. Then read in that many more numbers (all integers) and output the sum of their squares.Input of 4 1 2 3... more

04/19/21

Counting 3. Write a program that reads in two chars, like B and F and prints all the characters in that range in the format:

Write a program that reads in two chars, like B and F and prints all the characters in that range in the format:B,C,D,E,FHints: Your loop variable should be a char. Remember you can add one to a... more

04/19/21

Counting 2. Read in three numbers. A start value, an increment value, and an end value (all integers). Start counting from the start, adding the increment at each step...

Read in three numbers. A start value, an increment value, and an end value (all integers). Start counting from the start, adding the increment at each step, until you are at or above the end... more

04/19/21

Counting 1. Write a program that reads in a number, and writes out from 1 to that number. An input of 5 would produce 12345.

Write a program that reads in a number, and writes out from 1 to that number. An input of 5 would produce 12345.Code:#include <iostream>using namespace std;int main(){ //YOUR_CODE}

04/19/21

Cell Labeler. In a spreadsheet, the rows are numbered and the columns are lettered, like this:

In a spreadsheet, the rows are numbered and the columns are lettered, like this: ABC 1 A1 B1 C1 2 A2 B2 C2 The code below reads in a number of rows and columns. Prints out the cells that would... more

04/19/21

Triangle Printer 2. The existing code reads in a number and prints a series of rows. Modify it so it prints a triangle that looks like the ones shown below.

The existing code reads in a number and prints a series of rows. Modify it so it prints a triangle that looks like the ones shown below. SizeShape 1 *2 * ** 3 * ** *** 4 * ** ... more

04/19/21

Triangle Printer. The existing code reads in a number and prints a column of stars that many rows long. Modify it so that it prints a triangle that looks like the one shown below.

The existing code reads in a number and prints a column of stars that many rows long. Modify it so that it prints a triangle that looks like the one shown... more

04/19/21

Square printer. Read in an integer. Print a square of *'s that height and width. An input of 3 should produce:

Read in an integer. Print a square of *'s that height and width. An input of 3 should produce: *** *** *** An input of 5 should produce: ***** ***** ***** ***** ***** Code:#include... more
Computer Engineering Computer Programming Computer Science

04/18/21

how possible 6 digit PIN code with exactly 5 different numbers?

how possible 6 digit PIN code with exactly 5 different numbers?

04/13/21

Catapult Calculator

Market research has indicated that the app store currently lacks a catapult calculator. Filling this void could be the get rich opportunity of a lifetime! Write a program that calculates whether a... more

04/13/21

Compilation is normally encapsulated so that all of the necessary steps happen behind the scenes. Type the following C code into a file named count.c.

CompilationCompilation is normally encapsulated so that all of the necessary steps happen behind the scenes. Type the following C code into a file named count.c.#include <stdio.h>#include... more

04/13/21

Zookeeper and kafka

What is the role of kafka in zookeeper

04/12/21

Log Switcher. Read in a number (double). Print the power of two that the number represents.

Read in a number (double). Print the power of two that the number represents.C++11 added a log base 2 function, but you can also just use the formula: power = log(number) / log(2) where log is the... more

04/12/21

Int Range. Read in a decimal value. Print out the two integers it is between, smaller value first, with exactly one space in between them.

Read in a decimal value. Print out the two integers it is between, smaller value first, with exactly one space in between them. If it is an integer value already, your program should print out the... more

04/12/21

Cos Finder. Read in an angle in degrees and the length of the adjacent side to that angle in a right triangle (both as doubles). Print the length of the hypotenuse of the triangle.

Read in an angle in degrees and the length of the adjacent side to that angle in a right triangle (both as doubles). Print the length of the hypotenuse of the triangle.Use the formula hypotenuse =... more

04/12/21

Tangent Angle Finding. Read in the opposite and adjacent sides for one of the acute angles in a right triangle (as doubles). Print the size of the angle in radians.

Read in the opposite and adjacent sides for one of the acute angles in a right triangle (as doubles). Print the size of the angle in radians.Use the rule angleX = atan(opposite/adjacent) to find... more

04/12/21

Vowel Checker. Read in a character. Print vowel if it is a vowel (a, e, i, o, u, A, E, I, O, U) or consonant if it is not.

Read in a character. Print vowel if it is a vowel (a, e, i, o, u, A, E, I, O, U) or consonant if it is not.Hint: a nice trick to simplify your logic is to first convert the input to... more

04/12/21

Passcode Checker. Users of a system are supposed to pick a 3 character pass code such that there is at least one character that is a digit (number) and one character that is not a letter or number.

Users of a system are supposed to pick a 3 character pass code such that there is at least one character that is a digit (number) and one character that is not a letter or number. Something like... more
Computer Engineering Computer C++ Computer Programming

04/12/21

Next Two Letters. Read in a character (it will always be a lower case letter). Print out the two letters that come after it without any spaces. Once you go past 'z' you should wrap back to 'a'.

Read in a character (it will always be a lower case letter). Print out the two letters that come after it without any spaces. Once you go past 'z' you should wrap back to 'a'.Hint: You can add... more
Computer Engineering Computer C++ Computer Programming

04/12/21

Char Sorter. Write a program that sorts chars into 1 of 3 groups.

Write a program that sorts chars into 1 of 3 groups. Letters A-J are in group 1, K-P in group 2, Q-Z in group 3. You should read in one character and print out the group it belongs in - assume the... more
Computer Engineering Computer Computer Science

04/11/21

What is the number of 6 character passwords containing the word "mate"?

What is the number of 6 character passwords containing the word "mate"?

04/11/21

How many 6 character passwords are there which have exactly one letter m?

How many 6 character passwords are there which have exactly one letter m?
Computer Engineering Computer General Computer C++

04/05/21

C++. Write a program that reads three integers from cin and outputs them in order from smallest to largest.

C++.Write a program that reads three integers from cin and outputs them in order from smallest to largest.Example: input of 3 8 5 should result in output of:3 5 8Hints: You do not have to actually... more
Computer Engineering Computer General Computer C++

04/05/21

C++. An international phone call is billed by the minute according to this scheme: Calls up to 10 minutes cost a flat $5.

An international phone call is billed by the minute according to this scheme: Calls up to 10 minutes cost a flat $5. Calls over 10 minutes but less than 30 cost $.50 per minute. Calls 30 minutes or... more

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.