Message from C, C++ talks

June 2019

— Structures are aligned by the biggest type size

— /get meta

— No need for meta questions. Just ask directly!

"Any $x developer?"

Probably. Just ask your question and somebody will help!

http://dontasktoask.com

Message permanent page

— Welcome

— 

Only if people know how to read, i already stated that its from a job hiring process and i couldnt be able to solve it, the job hiring process has ended. But i dont know the answer to it.

— Dima chan >..< wont you help me

— Read my message again

— NANIIIIIIIIIIIIIIiii

— Hey guy's

— Need assistance here

— #include<stdio.h>
//program to calculate simple into 3sets of p,n ajd r where p=principle, n=no of years,rate of interest
void main()
{
int p,n, count=1;
float r,si;
while (count<=3)
{
printf("enter the value of p,n & r\n\n");
scanf("%d,%d,f",&p,&n,&r);
si=(p*n*r)/100;
printf("simple interest=%f",si);
count++;
}
}

Message permanent page

— Am getting 1.### as my output

— Mb u lost % in scanf before f ?

— I added and nothing changed

— If ur answer in float, why p and n int ?