#136696 - dntd - Fri Aug 03, 2007 10:25 pm
hi how i can convert this code to nds palib dev.
sorry i'm a noob... :( can anyone helpme?
Last edited by dntd on Sat Aug 04, 2007 1:21 am; edited 1 time in total
Code: |
#include<stdio.h>
#include<math.h> int a,b,c,D,x; float R1,R2,R3,Y; main() { printf("Type valor For a\n"); scanf("%d",&a); printf("Type valor For b\n"); scanf("%d",&b); printf("Type valor For c\n"); scanf("%d",&c); printf("Type valor For D\n"); scanf("%d",&D); R1= a+b; R2= R1/c; R3= pow(D,2); Y= R2+R3; printf("Result: \n%f",Y); scanf("%d",x); } |
sorry i'm a noob... :( can anyone helpme?
Last edited by dntd on Sat Aug 04, 2007 1:21 am; edited 1 time in total