-1
You’re not letting me type the rest, just typing the first one goes to the last one.
#include <iostream>
#include<stdio.h>
int main(void) {
int n1,n2,pim,rn1,rn2,rpim,rfinal;
rn1=n1*4;
rn2=n2*4;
rpim=pim*2;
rfinal=(rn1+rn2+rpim)/10;
printf("Entre com a Primeira Nota\n");
scanf("&i",n1);
printf("Entre com a Segunda Nota\n");
scanf("&i",n2);
printf("Entre com o Pim");
scanf("&i",pim);
printf("Nota Final e %i",rfinal);
return 0;
}
Did the answer solve your question? Do you think you can accept it? See [tour] if you don’t know how you do it. This would help a lot to indicate that the solution was useful to you. You can also vote on any question or answer you find useful on the entire site.
– Maniero