Sunday, January 29, 2023

Odd and Even Numbers Using Functions and Pointers in C

  A program that will ask the user to give a number and then the program will determine and check if the given number is an odd or even number using a functions and pointers using C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support. 





Program Listing

#include <stdio.h>


/* function using pointers here */


char *odd_even(int num)

{

printf("\n\n");

if (num%2==0) {

    printf("\t%d is an even number.",num);

} else {

printf("\t%d is an odd number.",num);

  }

  printf("\n\n");

}


int main()

{

    int num=0;

    

printf("\n\n");

printf("\tOdd and Even Numbers Using Functions and Pointers in C\n\n");

printf("\tGive a Number : ");

    scanf("%d",&num);


    odd_even(num);//calling the function

   

    return 0;

}


Odd and Even Numbers Using Function in C

Odd and Even Numbers Using Function in C

 A program that will ask the user to give a number and then the program will determine and check if the given number is an odd or even number using a function using C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support. 





Program Listing

#include <stdio.h>

/* function here */

int odd_even(int num)
{
printf("\n\n");
if (num%2==0) {
    printf("\t%d is an even number.",num);
} else {
printf("\t%d is an odd number.",num);
  }
  printf("\n\n");
}

int main()
{
    int num=0;
    
printf("\n\n");
printf("\tOdd and Even Numbers Using Function in C\n\n");
printf("\tGive a Number : ");
    scanf("%d",&num);

    odd_even(num);//calling the function
   
    return 0;
}

Saturday, January 28, 2023

Gets Command in C

Gets Command in C

 A program to demonstrate how to use gets command in C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support. 




Program Listing


#include <stdio.h>



int main()

{

char user_name[100];

printf("\n\n");

printf("\tGets Command in C\n\n");

printf("\tGive your complete name : ");

gets(user_name);

printf("\n\n");

printf("\tHello %s. Nice to meet you.",user_name);

printf("\n\n");

printf("\tEnd of Program\n");

printf("\n\n");

}

Paano Nakakuha Ng Experience Sa Computer Programming Kung Ikaw Ay Isang ...

Friday, January 27, 2023

Addition and Divide Two Numbers in C

Addition and Divide Two Numbers in C

 A program to ask the user to give two numbers and then the program will compute the sum and quotient of the two numbers and display the results on the screen using C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support. 





Program Listing

#include <stdio.h>

int a=0,b=0;
int sum=0,divide=0;

int main()
{
printf("\n\n");
printf("\tAddition and Divide Two Numbers in C\n\n");
printf("\tEnter Two Numbers : ");
scanf("%d%d",&a,&b);
printf("\n\n");
sum = (a+b);
divide = (a/b);
printf("\n");
printf("\tThe sum of %d and %d is %d.\n\n",a,b,sum);
printf("\tThe quotient of %d and %d is %d.\n",a,b,divide);
printf("\n\n");
printf("\tEnd of Program");
printf("\n\n");
}

Thursday, January 26, 2023

Hello World in C Without Semicolon

Hello World in C Without Semicolon

 A program to display hello world on the screen without using semicolon using C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support. 





Program Listing

#include <stdio.h>



 int main()    

{    

 if(printf("Hello World in C Without Semicolon"))

 {

     

 }    

return 0;  

}   

Hello World Without Semicolon in C++

Hello World Without Semicolon in C++

 A program to display hello world on the screen without using semicolon using C++ programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support. 





Program Listing

#include <iostream>

using namespace std;


 int main()    

{    

 if(cout << "Hello World in C++ Without Semicolon")

 {

     

 }    

return 0;  

}   


Wednesday, January 25, 2023

Area of the Circle Using Rust

Area of the Circle Using Rust

 

Machine Problem

Write a program to ask the user to give radius value of a circle and then the program will compute the area of the circle and display the results on the screen using Rust programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support. 





Program Listing

// area.rs

use std::io;


fn main() {
   
    let  radius:f32;
    let  area:f32;
   
    let mut input = String::new();
   
    println!();
    println!("Area of a Circle Using Rust\n");

    println!("Give Radius Value: ");
    io::stdin().read_line(&mut input).expect("Not a valid string");

    radius = input.trim().parse().expect("Not a valid number");

    //Caculate the area of circle
     area = 3.14 * radius * radius;
 
    println!();
    println!("The area of the circle is {:.2}.",area);
    println!();
    println!("End of Program");
    println!();
   
}

Last Occurrence of Character in C++

Tuesday, January 24, 2023

Inches To Centimeter Using Function in Python

Inch To Centimeter Using Function in Python

   A program that will ask the user to give length value in inches and then it will convert it into centimeter equivalent using function in Python programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support. 



Program Listing


def inch_to_cm(inch):

    return inch * 2.54


print()

print("Inches To Centimeter Using Function in Python\n");


inch_value = float(input('Give value in inches : '))


print()

print('{} Inches is equal to {} Centimeters'.format(inch_value,  inch_to_cm(inch_value )))

Inches To Centimeters in Python

Inches To Centimeter in Python

  A program that will ask the user to give length value in inches and then it will convert it into centimeter equivalent using Python programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support. 



Program Listing


print()

print("Inches To Centimeter in Python\n");


inch_value = float(input('Give value in inches : '))

cm_value =  inch_value * 2.54 


print()

print('{} Inches is equal to {} Centimeters'.format(inch_value, cm_value))