Question
i got a problem in this c++ program i dont know how to reduce the number of spaces between each one of them this is
i got a problem in this c++ program i dont know how to reduce the number of spaces between each one of them this is my code
#include
/** * An integer named iterationCount is declared */ int iterationCount;
/** * Prompting user to enter start, stop and step values * inside a while loop * This while loop runs until all the constraints are not satisfied */ while(true){ cout>start>>stop>>step;
/** * Calculating iteration count */ iterationCount=(stop-start)/step + 1;
/** * Checking validity of each condition */ if(stop /**********************************************************/ /*** WRITTING DATA TO FILE NAMED number-table.txt ***/ /**********************************************************/ /** * Opening the file */ ofstream file; file.open("number-table.txt"); if(file.is_open()){ file file file file file file file file file
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started