14
14
Filea. C
int main(void) {
helloo();
return 0;
}
Fileb. C
#include <stdio.h>
void helloo(void) {
printf("Helloo,... World!\n");
Save both files in the same location and run in the command prompt and
execute the file.
2)
C++ program to swap numbers.
#include <iostream>
using namespace std;
int main()
{
int a = 5, b = 10, temp;
temp = a;
a = b;
b = temp;
return 0;
}
Java program to Multiply two floating number
4)
Simple Bash script
#!/bin/bash
echo "Enter user Name"
read name
echo "Welcome $name to bash script "
$ bash user_input.sh