convert to shell script

how to convert these code to shell script

#include<stdio.h>
#include<conio.h>
main()
{
int
i,j,a=0,b=0,c=0,f[10],t[10][10],al[10][10],ta[10][10];
int a1[10][10], max[10][10], n[10][10], n1,p,k=0;
printf(�\n enter no.of resources�);
scanf(�%d�,n1);
printf(�\nenter the max no .of resources for each type�);
for(i=0;i<n1;i++)
scanf(�%d�,&t);
printf(�\nenter no .of process�);
scanf(�%d�,&p);
printf(�\nenter allocation resources�);
for(i=0;i<p;i++)
{
f=0;
for(j=0;j<n1;j++)
scanf(�%d�,&a1[j]);
}
for(i=0;i<p;i++)
for(j=0;j<n1;j++)
{
if(a1[j]<=t[j])
{
t[j]+=a1[j];
continue;
}
else
printf(�\n wrong resourcesallocation�);

this is a c program,
i am not really aware of any requirement any one will have.

but you can check : CCsh, The Bourne Shell Compiler
*Remember its not free

there may be something free but will be full proof, no idea. someone else can say beter.

@ajayya*
That is the other way around, no?

CCsh, The Bourne Shell Compiler: What exactly is CCsh?

--
@syah, this cannot be done in an automated form. Why would you want this, is this homework?

ya.. homework

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.