#include <iostream>
using namespace std;
const int ROW=7;
const int COL=4;
char seat[7][4] = {{'A','B','C',' D'},
{'A','B','C','D '},
{'A','B','C','D '},
{'A','B','C','D '},
{'A','B','C','D '},
{'A','B','C','D '},
{'A','B','C','D '}};
enum col_input{
A,
B,
C,
D
};
char validseat;...
User Profile
Collapse
-
this is not an assignment.this is just an exercises from book written by walter savitch problem solving with c++ -- six edition-page 436
i really need your help as soon as possible... -
Hexidecimal Math
Hexadecimal numerals are integers written in base 16.The 16 digits used are '0'
through '9' plus 'a' for the "digit 11",'c' for the "digit 12",'d' for the
"digit 13",'e' for the "digit 14", and 'f' for the "digit 15".For example the hexadecimal numeral d is the same as base 10 numeral 14 and the hexadecimal numeral 1d is the same as the base 10 numeral 30.Write a C++ program to perform... -
I move the prime_num already but it still cannot get the output.
There is no output at all.Please help me.....Leave a comment:
-
what should i do to get the output?
it must have an output, isn't it?Leave a comment:
-
i'm sorry
the coding is for prime question
but there is no output
this is the question for the prime coding
Write a program that finds and prints all the numbers between 3 and 100.A prime number is a number such that one and itself are the only numbers that evenly divide it(eg.,3,5,7,11 ,13,17,.....)
one way to solve this problem is to use a doubly nested loop.The outer loop can iterate from...Leave a comment:
-
please check the coding for me..
Question...
An approximate value of pi can be calculated usong the series given below:
Pi=4[1-1/3+1/5-1/7+1/9…+((-1)n)/(2n+1)]
((-1)n)=n is a power for-1(for your information)
Write a C++ program to calculate the approximate value of pi using this series.The program takes an input n that determines the number of terms in the approximation of value of pi and outputs the approximation.I ncludes... -
Can you initialize C++ string from C-string? and
Can you initialize C-string from C++ string?Leave a comment:
-
declaring cin.getline() vs getline()
what is the difference between the cin.getline() function and getline() function? -
can you sent the program to my email
thanx...Leave a comment:
-
i don't know how to do it...
please help me..
i need the full program of the question....Leave a comment:
-
help me to solve this problem
Your country is at war and your enemies are using a secret code to communicate with each other. You have managed to intercept a message that reads as follows:
:mmZ\dxZmx]Zpgy
The message is obviously encrypted using the enemy’s secret code. You have just learned that their encryption method is based upon the ASCII code. Individual characters in a string are encoded using this system. For example, the letter “A”...
No activity results to display
Show More
Leave a comment: