Forwarded from EvoNext
1. c++ books for beginners
1.1 recommended book for c++
2. python book for beginner
3. java for beginner
*ltc-βπΏ
1.1 recommended book for c++
2. python book for beginner
3. java for beginner
*ltc-βπΏ
//program to print a string n times without using loop
#include <iostream>
#include <cstdlib>
using namespace std;
void iter(int);
int main() {
int n = 10;
iter(n);
return 0;
}
void iter(int y)
{
string s = "name";
if(y==0)
{
exit;
}
else
{
cout <<s<<endl;
iter(y-1);
}
}π2
#include <iostream>
using namespace std;
int myFun(int);
int main(){
int m;
m = 10;
cout << myFun(m);
return 0;
}
int myFun(int y)
{
if( y == 0 || y == 1 || y == 2 )
{
return 1;
}
else{
return ( y + 1) + myFun( y - 3);
}
}
which if the following can not be a structure memeber?
Anonymous Quiz
16%
another structure
30%
function
14%
array
40%
none
the data elements in the structure is known as what?
Anonymous Quiz
35%
objects
49%
members
14%
data
2%
none of the above
π2π2
##" Write a definition for a structure type for records consisting of a personβs
wage rate, accrued vacation (which is some whole number of days), and
status (which is either hourly or salaried). Represent the status as one of
the two char values 'H' and 'S'. Call the type EmployeeRecord.
wage rate, accrued vacation (which is some whole number of days), and
status (which is either hourly or salaried). Represent the status as one of
the two char values 'H' and 'S'. Call the type EmployeeRecord.
π1
C++ problem@:
An election is contested by five candidates. The candidates are numbered 1 to 5, and the voting is done by marking the candidate number on the ballot paper. Write a program to read the ballots and count the votes cast for each candidate using an array variable count. In case, a number read is outside the range 1 to 5, the ballot should be considered as a βspoiled ballotβ, and the program should also count the number of spoiled ballots.
An election is contested by five candidates. The candidates are numbered 1 to 5, and the voting is done by marking the candidate number on the ballot paper. Write a program to read the ballots and count the votes cast for each candidate using an array variable count. In case, a number read is outside the range 1 to 5, the ballot should be considered as a βspoiled ballotβ, and the program should also count the number of spoiled ballots.
π1
[Forwarded from LEARN TO CODE]
GREAT OFFER
FOR (12 +1) STUDENTS ONLYβΌοΈ
Are you looking for freshman reading materials?
then look at this gift for π―% free:
- modules
- exams[ mid, final] of different universities
- reference books
- and different materials in voice and videos
.... are some of them.
first semister courses:-
β General physics
β mathematics for natural
β mathematics for social
β logic and critical thinking
β communicative english
β Psychology
β Geography
second semister courses:
β Emerging
β general biology
β applied mathematics
β programming I
β civcs and moral education
β economics
β anthropology
β communicative english II
....much more!
https://t.me/exbost
https://t.me/exbost
https://t.me/exbost
join learn to code
https://t.me/exbost
TRUST! YOU GONNA LOVE IT!
GREAT OFFER
FOR (12 +1) STUDENTS ONLYβΌοΈ
Are you looking for freshman reading materials?
then look at this gift for π―% free:
- modules
- exams[ mid, final] of different universities
- reference books
- and different materials in voice and videos
.... are some of them.
first semister courses:-
β General physics
β mathematics for natural
β mathematics for social
β logic and critical thinking
β communicative english
β Psychology
β Geography
second semister courses:
β Emerging
β general biology
β applied mathematics
β programming I
β civcs and moral education
β economics
β anthropology
β communicative english II
....much more!
https://t.me/exbost
https://t.me/exbost
share for your friendhttps://t.me/exbost
https://t.me/exbost
join learn to code
https://t.me/exbost
TRUST! YOU GONNA LOVE IT!
π2
FILE MANAGEMENT SYSTEM c++.LEARNtoCODE.pdf
926.8 KB
ifstream/ofstream/fstream/iostreamππΏππΏ
share:- learn to code
share:- learn to code