3-questions-c

QUESTION 1

Using for loops, and vectors or arrays, write a function named word_rev() that reverse any given word. Write your own code, do not use the invert function.Then put this in a program that will:

Ask the user to enter a word.
Save the entry as word_entered.
Call word_rev on the entry
Display the reversed entry (word_entered)
What is displayed will be your entry in backward

Submit your .cpp file

QUESTION 2

Write a function named prime() that determine whether or not a given number n (greater thanone) is prime. The algorithm:

If n is even then n is not a prime number except n = 2
For all odd numbers less or equal to the square root of n, if any of them divide n, then

n is not primeUse this prime function in a program that:

Asks the user to enter an integer
Saves the entry as var
Calls the function prime() on the entry
Displays whether or not the entry is prime

Submit .cpp file

QUESTION 3

Write a function that turns the lower case characters of a string into upper case characters (Mangoes becomes MANGOES).You can use toupper(char c) function. So your function takes in a string and prints the same string in upper case.Then use this function in a program that requests a phrase from the user and print the entire phrase in upper case.Submit your program .cpp file.

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A quality paper that is free from plagiarism. Order now for an Amazing Discount! Use Discount Code “Newclient” for a 15% Discount!NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 4129036714

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 20% with the discount code GURUH