如何在ASP.net中编译程序? [英] How to compile the program in ASP.net?
问题描述
嗨
有谁能指导我如何使用visual studio在asp.net web应用程序中编译程序?我的项目是通过编译它们的输出来显示所选的迭代结构和条件语句....
例如,
int main( )
{
int num;
printf(输入你要检查的数字。\ n);
scanf(%d,#num);
if((num%2)== 0)
//检查余数是否为0 。
printf(%d是偶数。,num);
else
printf(%d是奇数。,num );
返回0;
}
并且在执行此程序时它应该显示输出其他窗口或这样的弹出窗口,
输出1
输入您要检查的数字。
25
25是奇数。
输出2
输入您要检查的数字。
2
2是偶数。
hi
can anyone please guide me how to compile a program in asp.net web application using visual studio? my project is to show the selected iteration structures and conditional statements by compiling their output....
For example,
int main()
{
int num;
printf("Enter a number you want to check.\n");
scanf("%d",&num);
if((num%2)==0)
//checking whether remainder is 0 or not.
printf("%d is even.",num);
else
printf("%d is odd.",num);
return 0;
}
and on executing this program it should show the output in an other window or pop-up like this,
Output 1
Enter a number you want to check.
25
25 is odd.
Output 2
Enter a number you want to check.
2
2 is even.
推荐答案
参见 https://www.google.com/search?q=online+compile+c%23 [ ^ ]。
这篇关于如何在ASP.net中编译程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!