The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 2 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
quastion #1
A????1Using c-style I/O functions scanf() and printf(), not cin/cout, write a program that prompts the user for two floats and then prints
A????1Their sum
A????1Their difference
A????1Their product
A????1Their average
quastion #2
A????1Using printf() and scanf() instead of cin/cout:
A????1Write a program that prompts the user to type the drive letter (for example, C), the path (\ Windows\ System), the file name (Readme), and the extension (txt).
A????1Then print the complete file name & path based on the userA????1s input, such as
The full pathname is C:\Windows\System\Readme.txt
Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- Th-----------ank----------- Yo-----------u f-----------or -----------usi-----------ng -----------our----------- we-----------bsi-----------te -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill-----------