search.docx - #include <iostream> #include<string> #include...

This preview shows page 1 out of 1 page.

#include<iostream>#include<string>#include<fstream>usingnamespacestd;intmain(){intnu;cout<<"Enter the number of medicine to get information about it : ";cin>>nu;while(nu<1 || nu>10){cout<<"You have entered invalid number please Enter the numberbetween 1 and 10 : ";cin>>nu;}ifstream input("Text.txt");ofstream output("haider.txt");intchoice[10],cost [10];
End of preview. Want to read the entire page?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
jawad hassan
Tags

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture