No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi everyone, Today i have a question about how can i write one code for all shapes like, ****** ***** **** *** ** * or other shapes like square or tringle. I want to know the difference in every code. Thanks alot. |
|
Here i have problem with ctype.h library .I think i use correctly,but i ahve an error on it. This is the code. [ICODE]#include<iostream> #include <ctype.h> using namespace std; int main(){ char letter; int num; int isdigit(int letter); int isupper (int letter); int islower( int letter); int small=0; int capital=0; int … |
|
Hi, When i write any code has if else statement , and run it na error appeatrs and say that else doesn't match with if [U]or[/U] illegal else without matching if. I don't know where is the problem exctly ,and you should know that i don't put } in these … |
|
[COLOR="Red"]Today I have some question and their solution ,but I have problem with some.[/COLOR] [COLOR="red"][COLOR="Green"]Q1: Write a program that checks if a sequence of positive numbers is in increasing order or not.[/COLOR][/COLOR] [COLOR="Red"]I don't know what is missing her?![/COLOR] Solution: [CODE]#include<iostream> using namespace std; int main(){ int value,check=1; cout<<"Enter a … |
|
Hi Everyone , I have 3 questions that need explaination (only explain),then i will try to solve them. [COLOR="green"]Q1[/COLOR]: Let g(x,n) = 1 – x2/2! + x4/4! - … …+(-1)n x2n /(2n)! Using a loop write a program to calculate g(x,n). [COLOR="green"]Q2:[/COLOR] write a program that accepts a positive integer … |
|
Hi everone, Today i have a question has two parts and i did what i undrstood.If threr are mistakes ,please tell me. The Question is: [quote]father decided to buy a new vehicle. He paid 20,000 QR in cash and the rest will be paid on settlements as follows: 1500 … |
|
Hi ; I know how to solve the same problem if i have limit numbers ,but here i have n intergers .How can the compiler understanst me when i need n integers ,like this question: [COLOR="Red"]Write a program that takes an n number of integers and calculates their average.[/COLOR] Using … |
|
I was looking for some websites ,that can help me in C++ becuase i have c++ course this semester .I really like your siteand I hope i can find help and greetingfrom the members. |
|
I have some questions ,i can't solve it .The first one is, Write a C++ program using the switch statement that does exactly what the following program does: [ICODE] #include <iostream.h> #include <math.h> void main () { float number; int choice; cout<< "Enter you number"; cin>> number; cout << "Enter … |