Question

(1) Create flowchart for a program that takes a user's name as input and appends it...

(1) Create flowchart for a program that takes a user's name as input and appends it to the word "Hello". Return the whole statement back to the user.

(2)

Create the logic in pseudocode for a program that takes a user's name as input and appends it to the word "Hello". Return the whole statement back to the user.

Homework Answers

Answer #1

1)

FLOWCHART USING OBJECT ORIENTED PARADISM

OUTPUT

FLOWCHART BY USING LOGIC

OUTPUT

APPEND USING + OPERATOR

OUTPUT

2)

PSEUDOCODE

PSEUDOCODE APPEND

  1. INPUT THE USER NAME TO s1
  2. S2 =”Hello”
  3. X = length_of(s1)
  4. I=1
  5. J=6
  6. Repeat while(i<=x)
  7. S2[j]=s1[i]
  8. I=i+1
  9. J=j+1
  10. [End of loop]
  11. Return s2
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Assignment 2 Create a Java program called UserNames that reads the user's first and last name...
Assignment 2 Create a Java program called UserNames that reads the user's first and last name (separately), then prints a string composed of the first 4 letters of the user's last name, followed by the first letter of the user's first name, followed by a random number in the range of 10 to 99 (inclusive). You can assume the first name is at least one letter long and the last name is at least 4 letters. After doing this once,...
1) Create a flowchart for the program below and Trace the program below with input of...
1) Create a flowchart for the program below and Trace the program below with input of 3 and then again with input of 5. #include <iostream> using namespace std; int Fall(int x, int m) { int Xm = 1, i=x; while(i>=x-m+1) { Xm = Xm*i; i=i-1; } return Xm; } int Delta(int x, int m) { int ans = 0; ans = Fall(x+1,m); ans = ans - Fall(x,m); return ans; } void main() { int x = 0, m =...
Please Use Javascript and HTML 1) Greeter Create an page with an input, and a button....
Please Use Javascript and HTML 1) Greeter Create an page with an input, and a button. When the button is clicked, output the phrase "Hello {Name}" to the developer console, with {Name} being the value the user put into the input field. Use a function that takes the name as an argument, and returns the full phrase as its output.
Create a program named admission that takes as Input the student name, GPA and the admission...
Create a program named admission that takes as Input the student name, GPA and the admission Test Score, the application should display if the student got accepted or rejected. The program should use a function named AcceptOrReject( gpa, testScore) to control the program. Acceptance is based on the following criteria: The student can get accepted in the following two cases : 1- if the GPA is less than 3.0, the test score has to be more than 80 to get...
You must create a flowchart, and its corresponding Python program, to solve the following problem: 1....
You must create a flowchart, and its corresponding Python program, to solve the following problem: 1. Using a repetition structure, evaluate the factorial of a positive whole number n: n! = n · (n - 1) · (n - 2) · ... · 1, where n >=1 Your program must take into account the cases in which the user enters an incorrect number and provide an error message for such cases.
Write a program that takes in a line of text as input, and outputs that line...
Write a program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters "Quit", "quit", or "q" for the line of text. Ex: If the input is: Hello there Hey quit the output is: ereht olleH yeH IN JAVA
create a program that prompts the user for a file name and then provides the user...
create a program that prompts the user for a file name and then provides the user with the number of word in the file. The program should then allow the user to repeatedly specify a number and show that word in the file. (Note: Do Not use an array.) please write in bsic comments so i can more easily understand A test plan for the program. (How would you know the program is actually working properly?) A shell program with...
In Python You must create a flowchart, and its corresponding Python program, to solve the following...
In Python You must create a flowchart, and its corresponding Python program, to solve the following problem: 1. Using a repetition structure, evaluate the factorial of a positive whole number n: n! = n · (n - 1) · (n - 2) · ... · 1, where n >=1 Your program must take into account the cases in which the user enters an incorrect number and provide an error message for such cases.
Write a program (also write its pseudocode and draw its flowchart) to prompt the user to...
Write a program (also write its pseudocode and draw its flowchart) to prompt the user to input the variables to solve the following problem: X2 + X×Y/Z – W*V3 Note 1: You should ask the user to input 5 number to be able to do this calculation. Note 2: You can use multiplication instead of power if you do not want to use it (as we have not officially covered it).
1. Draw a flowchart for a program that will compute the average of 10 exam scores...
1. Draw a flowchart for a program that will compute the average of 10 exam scores entered by the user. List the variables needed for this program. 2. Modify previous problem to allow the user to input the total number of exam scores. List the necessary variables and draw the flowchart. 3. Draw a flowchart for a program that will obtain 10 exam scores from the user and determine whether the score is passing (a score of 60 or above)...