Diego😁
Hi
Diego😁
How are you? Is anybody here?
Anonymous
Diego😁
so nice, thanks
Giorgi
/warn
Kkk
Hi guys
Kkk
I have an issue with an implementation of “Mastermind game” in C
Kkk
How can I do the comparison between the arrays? Because red pin is for same color and same position but white pin is for same color but wrong position.
I attached my code
Anonymous
Lab Project : Write a project in c++ using loops and arrays to automate the exam system of your intermediate college.
Instruction : write project in groups
Deadline : 24 April, 2021 (corrected )
Main menu with functionality:
Enter 1 for store student record
Enter 2 for search student record
Enter 3 for display all records
Enter 4 for display particular subject record by Grade
Enter 0 for exit
Student_info : {name,father name, address,roll number}
Subjects : {roll number, Math, English, Urdu}
Mathematical calculations : Calculate average, Percentage, Grades, Pass, Fail
Anonymous
Any one can help me?
oldherl
Any one can help me?
* Asking to solve an assignment/test/whatever without trying it first yourself will get you a warn or will get you BANNED. We won’t write a code for you, but we can push you forward and suggest something.
Anonymous
I need help and guide me how i can write it.
Anonymous
I dont think so that learning is illegal anywhere
Binesh
Binesh
Lab Project : Write a project in c++ using loops and arrays to automate the exam system of your intermediate college.
Instruction : write project in groups
Deadline : 24 April, 2021 (corrected )
Main menu with functionality:
Enter 1 for store student record
Enter 2 for search student record
Enter 3 for display all records
Enter 4 for display particular subject record by Grade
Enter 0 for exit
Student_info : {name,father name, address,roll number}
Subjects : {roll number, Math, English, Urdu}
Mathematical calculations : Calculate average, Percentage, Grades, Pass, Fail
Try to use struct for creating student info
Anonymous
Okay
Binesh
Menu functionality can be done by switch statement
[Gaal wase bilaa cashuur ]?_ 2 grals
Okay
Anonymous
Kindly give me some structure of that kind of program
[Gaal wase bilaa cashuur ]?_ 2 grals
Okay
Terlan
Hello
Terlan
How can I write a program subtracts 0 and 5 digits from a given number?
Terlan
Example
Input: 75304
Output:734
Terlan
Can you help?
Diego
The easiest I can think of is turning it into a string, copying over all the characters that are not those, and parsing it back into an int
Terlan
Anonymous
Lab Project : Write a project in c++ using loops and arrays to automate the exam system of your intermediate college.
Instruction : write project in groups
Deadline : 24 April, 2021 (corrected )
Main menu with functionality:
Enter 1 for store student record
Enter 2 for search student record
Enter 3 for display all records
Enter 4 for display particular subject record by Grade
Enter 0 for exit
Student_info : {name,father name, address,roll number}
Subjects : {roll number, Math, English, Urdu}
Mathematical calculations : Calculate average, Percentage, Grades, Pass, Fail
/warn your program yourself
Anonymous
Anonymous
Anonymous
Plzz help me the code fo minimum number of gas stations problem
Talula
Diego
Anonymous
I am facing some problem in below problem. My code is attached with it. It is not showing 2nd division.
Q)Write a program which take marks of 5 subjects each so that maximum marks of each subject is 100. Display result pass or fail. Also write division obtained if candidate has passed.
My code
#include <stdio.h>
#include <stdlib.h>
int main()
{
float a,b,c,d,e,f,g;
printf("Enter marks of each subject\n");
scanf("%f%f%f%f%f",&a,&b,&c,&d,&e);
f=a+b+c+d+e;
g=500.0;
if(f>=30/100.0*g)
printf("pass\n");
else
printf("fail\n");
if(f>=60.0/100*g)
printf("1st division");
if(f<35.0/100*g)
printf("3rd divison");
if(f>35.0/100*g&&f<60/100*g)
printf("2nd division");
}
Anonymous
I am facing some problem in below problem. My code is attached with it. It is not showing 2nd division.
Q)Write a program which take marks of 5 subjects each so that maximum marks of each subject is 100. Display result pass or fail. Also write division obtained if candidate has passed.
My code
#include <stdio.h>
#include <stdlib.h>
int main()
{
float a,b,c,d,e,f,g;
printf("Enter marks of each subject\n");
scanf("%f%f%f%f%f",&a,&b,&c,&d,&e);
f=a+b+c+d+e;
g=500.0;
if(f>=30/100.0*g)
printf("pass\n");
else
printf("fail\n");
if(f>=60.0/100*g)
printf("1st division");
if(f<35.0/100*g)
printf("3rd divison");
if(f>35.0/100*g&&f<60/100*g)
printf("2nd division");
}
Pls help
[Gaal wase bilaa cashuur ]?_ 2 grals
Done
Anonymous
Subrat
How do I write a code for iterations where error<0.00001 and error= t1[i][j]-t0[i][j].
Anonymous
Subrat
if anyone knows numerical methods.
Subrat
There are two matrices t0 and t1,
t1[i][j]=(t0[i+1][j] + t0[i-1][j] + pow(beta, 2)*(t0[i][j+1] + t0[i][j-1]) )/(2*(1+ pow(beta, 2)));
this will be iterated untill
t1[i][j]-t0[i][j]<0.00001
how to write iteration code
and given
t0[i][0]=0;
t0[i][m-1]=1;
t0[0][j]=0;
t0[n-1][j]=0;
using the above
Anonymous
Hello their! Can I ask a example for a 2d array that will ask user to input number or rows and columns.
Then the user will input values needed for every rows and columns and after the user input values it will Display and arrange the numbers on how they should appear in rows and columns. after they appear it will get the sum for every rows and sum for every columns.
I code something but idk how to do the sum part😓
[Gaal wase bilaa cashuur ]?_ 2 grals
Okay
Binesh
/warn
Hamid
Hamid
You can easily walk through every row/column
Anonymous
Hamid
Anonymous
Hamid
Anonymous
#include<iostream>
using namespace std;
int R,C,x,y,a,b,n,num[10][10];
int main()
{
cout<<"How many rows? "; cin>>R;
cout<<"How many collums? "; cin>>C;
for(x=0; x<R; x++)
{
cout<<endl;
for(y=0; y<C; y++)
{
cin>>num[x][y];
}
}
cout<<endl;
for(a=0; a<R; a++)
{
for(b=0; b<C; b++)
{
cout<<" "<<num[a][b];
}
cout<<endl;
}
return 0;
}
I don't really know how I can print out the total of the sum of each row and column and I don't know what to put to my code so can you suggest any?
Giorgi
Which C++ libraries are there for working with Telegram APIs?
Hamid
Hamid
Cesco
Cesco
example
Giorgi
https://github.com/reo7sp/tgbot-cpp
I want to learn about it and I want to commit to one library which supports as much stuff as it can. Is that the only one? That library has not implemented some stuff
Anonymous
Hamid
Anonymous
Cesco
Cesco
https://del.dog/alimywesin.txt
Anonymous
Cesco
Anonymous
klimi
Achiever why pm other people? :(
Neel
Can I post github link ?
Anonymous
Message from @neel_basu:
Hello guys. I am working on dhyara, a MANET on ESP32 devices. Currently it provides an infrastructure-less AdHoc multi-hop multi-path network. The nodes in the network are identified by mac address instead of ip address. I'd welcome any contribution on https://github.com/neel/dhyara
Neel
Suka
Hamid
Neel