convery this code to C languge #include using namespace std; int main() { string input = "hello world"; for(i
Posted: Fri May 20, 2022 3:36 pm
convery this code to C languge
#include <iostream>
using namespace std;
int main()
{
string input = "hello world";
for(int i=0;i<input.length();i++)
{
if(input!=' ')
{
cout<<input;
}
else
{
break;
}
}
return 0;
}
#include <iostream>
using namespace std;
int main()
{
string input = "hello world";
for(int i=0;i<input.length();i++)
{
if(input!=' ')
{
cout<<input;
}
else
{
break;
}
}
return 0;
}