No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
public class secenek { public static void main(String[] args) { int option=0; int a,b; a=5; b=7; if (option==0){ System.out.println("A+B= "+a+b); } } } |
|
Re:
i installed codeblocks on windows8 but when i compile one of c program error message mingw32-g++.exe: Internal error: Aborted (program collect2) the same problem happened on devc either what will l do |
|
problem: five students pick five balls, but they must not choose the same ball this program does not work i dont know what is wrong. [CODE]#include <cstdlib> #include <iostream> #include <stdio.h> #include <conio.h> using namespace std; int main(int argc, char *argv[]) { int i; int student[5] = {0}; int ball[6] … |
|
I write letter, it checks vowel or not but could not achieve for the capital letter without using if loop help me [CODE]#include <cstdlib> #include <iostream> #include "stdio.h" #include "conio.h" #include "string.h" using namespace std; int main(int argc, char *argv[]) { int a,b; char ch; printf("Enter Letter="); scanf("%c",&ch); if (ch==a) … |
|
Re:
hello,i must solve this problem : "Sum all even digits of a given number. That's what i've got so far. [CODE] #include <iostream> using namespace std; int main() { int sum = 0 , num; cin>>num; while(num > 0) { sum+=num%10; num/=10; } cout<<sum; return 0; } [/CODE] the problem … |