Profile cover photo
Profile photo
Muhammad Iqbal
67 followers
67 followers
About
Posts

Post has attachment

Post has attachment

Post has attachment
DS Malik PROGRAMMING EXERCISES -- Chapter 3 -- Question 1 -- Solution
Question : 1. Consider the following
incomplete C++ program: #include <iostream> int main() { ... } a. Write a statement that includes
the header files fstream, string, and iomanip in this program. b. Write statements that declare
inFile to be an ifstream v...
Add a comment...

Post has attachment

Post has attachment
DS Malik Chapter 3 Question 18 Solution
Question : Suppose that infile is an ifstream variable and it is associated with the file that contains the following data: 27306 savings 7503.35. Write the C++ statement(s) that reads and stores the first input in the int variable acctNumber, the second in...
Add a comment...

Post has attachment

Post has attachment
Write a program that asks the user for an integer and then prints out all its factors in increasing order. Example input us 150, it should print 2 3 5 5
Question:                 Write a program that asks the user for an integer and then prints out all its factors in increasing                  order. Example input us 150, it should print                  2                 3                 5               ...
Add a comment...

Post has attachment

Post has attachment
CS201 - Introduction to Programming -- Assignment No.2 - Fall 2017 - Solution
Objectives: To enable students to write, compile
and execute a program in DevC++. Moreover to familiarize students with  the concepts of: If else
structure Loops Passing
array to a function Multidimensional
array declaration Multidimensional
...
Add a comment...

Post has attachment
Wait while more posts are being loaded