No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Exploring avenues for Intellectual and Spiritual stimulation
- Interests
- tech hi-tech and more tech in any field; also Mind training
- PC Specs
- Intel 2.9 Ghz dual core OS = Ubuntu 15.04
Re:
Good day! I would like to ask on how to reverse arrays and putting it on another array of char? string str; int k=0, count = 0,namelength, acc=0; char name[80]; char extract[80]; char reversing[80]; for(int j=0; j<strlen(extract);j++){ reversing[strlen(extract) -j]= extract[j]; } for(int w; w<=strlen(extract);w++){ cout << reversing[w]; } Is it … |
|
Re:
so, we have this school assignement in which we are asked to make a program that would ask you to enter two integers, them the program should add the two integers and all the even integers between them. example: integer1: 1 integer2: 10 (1 + 10 + 2 + 4 … |
|
Re:
Everything is coming out except for the average, what am I doing wrong? #include <iostream> #include <string> #include <iomanip> using namespace std; int main() { string ssnumber; int exam1 = 0, exam2 = 0, exam3 = 0, final = 0,count = 0, sum = 0; int average1 = 0, average2 … |