Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
0 Endorsements
~6K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags

15 Posted Topics

Member Avatar for tentrabyte

write a file: #include<iostream> using namespace std; int main() { FILE *fp; fp=fopen("e:\\myfiles\\sample.txt","w"); //Check permission if you can write a file if(!fp) { cout << "cannot open file.\n"; system("pause"); exit(1); } //prints the character ASCII from 65 to 90 (A-Z) to a file for(int i=65; i<91; i++) fputc(i,fp); fclose(fp); return …

Member Avatar for mridul.ahuja
0
220
Member Avatar for tentrabyte

guys i need your help. so this is my strcpy program. i am ask to create a program that will defined function that will do the same strcpy function using pointers only. did i do it right or wrong? please help me #include<iostream> #include<string.h> using namespace std; int main() { …

Member Avatar for Moschops
0
236
Member Avatar for tentrabyte

#include<iostream> #include<cstdlib> using namespace std; int main() { srand(21); cout << "Unique numbers:"; for (int x = 1; x < 10; x++){ cout << 1 + ( rand () % 20) <<endl; } system("pause>0"); return 0; } Guys this is my program. Can i ask if how can i vertical …

Member Avatar for mridul.ahuja
0
203
Member Avatar for tentrabyte

How can i create a rounding off program using ceil, floor, srand and rand... thanksss

Member Avatar for deceptikon
0
88
Member Avatar for tentrabyte

Create a program that will ask for a two numbers and use the selected operators. How can i create this program without using switch statement? need some help..

Member Avatar for mridul.ahuja
0
317
Member Avatar for tentrabyte

Guys I need help. can you help me determine what are the things that i'll used to run my program like this: Enter 5 numbers but refuse to display if the value is an odd number. Display only even numbers and the sum of all even number. I'm not asking …

Member Avatar for tentrabyte
0
323
Member Avatar for tentrabyte

Enter five scores and display the lowest score and the difference of each score from the highest score. I'm so confused. I don't know if i'll use array or looping. Need you help. Thanks

Member Avatar for David W
0
831
Member Avatar for tentrabyte

Guys I need some help... This is my program... #include<iostream> using namespace std; int main() #include<iostream> using namespace std; int main() { int a=1; int b=5; cout<<"*"; cin>>a; while <a=>5>; { cout<<"*"; ++a } return 0; } { And this will be the output of my program. * ** *** …

Member Avatar for dbfud1988
0
665
Member Avatar for tentrabyte

Can anyone help me? my problem is that when i enter my full name it forcefully close. i don't know why. please help me with my problem #include <iostream> #include <string> using namespace std; string name, zodiac, horoscope; int age, month, day; cout<<"Enter your Full name: "; cin>>name; cout<<"Enter Age: …

Member Avatar for Sarkurd
0
2K
Member Avatar for tentrabyte

a. degree fahrenheit to celsius and vice versa b. centimeter to feet and inches to feet

Member Avatar for Moschops
-2
247
Member Avatar for tentrabyte

Make a C++ program that will ask for integer value and assign that integer value to variable A. Declare another floating point data type variable and name it as B with a constant value of 95.4567. Display the value of B variable in integer format and another display of B …

Member Avatar for David W
0
139
Member Avatar for tentrabyte

Write a program that will ask for two integer numbers. Assign the first integer to the first operand and assign the second integer to the second operand. Declare a variable named SUM. Get the sum of the numbers and assign it to the SUM variable.

Member Avatar for David W
0
113
Member Avatar for tentrabyte

A data that will declare the following variables with the corresponding data types and initialization value. Output the variables names together with the values. **Variables** **Data types initial value** Letter character a pi float 3.14 Name character sam

Member Avatar for chriswelborn
0
127
Member Avatar for tentrabyte
Member Avatar for Neuman
0
113
Member Avatar for tentrabyte

Write a program that will ask for two integer numbers. Assign the first integer to the first operand and assign the second integer to the second operand. Use the following assignment operators: =, *=, /=, %=, +=, and -= Display the result of each operation. Consider the following sample output: …

Member Avatar for Tycellent
0
524

The End.