Friday, December 13, 2019

Sum of Two Numbers in C++ Language

I wrote this simple C++ program to ask the user to give two numbers and then the program will compute the total sum of two numbers being provided by the user. The code is very easy to understand.

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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

If you like my video tutorials kindly click the like button and subscribe for more video tutorials on my channel.


Thank you very much for your help and support.



Sample Program Output


Program Listing

 sum_two.cpp

// sum_two.cpp
// Author : Jake Rodriguez Pomperada,MAED-IT
// Date   : December 13, 2019   Friday   3:07 PM
// Email  : jakerpomperada@gmail.com


#include <iostream>

using namespace std;


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

int main()
 {
  cout <<"\n\n";
  cout <<"\tSum of Two Numbers in C++";
  cout <<"\n\n";
  cout <<"\tEnter First  Value : ";
  cin >> a;
  cout <<"\tEnter Second Value : ";
  cin >> b;
 
  sum = (a+b);
 
  cout <<"\n";
  cout <<"\tThe sum of " << a << " and " << b <<
        " is " << sum << ".";
  cout <<"\n\n";
  cout <<"\tEnd of Program";
  cout <<"\n";
} // End of Code
        
      
       
 
 




Addition of Three Numbers in C

A very simple program that I wrote using a C programming language that will ask the user to give three numbers and then the program will compute the sum of three numbers and display the results on the screen.

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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

If you like my video tutorials kindly click the like button and subscribe for more video tutorials on my channel.


Thank you very much for your help and support.


Sample Program Listing



Program Listing

sum.c

#include <stdio.h>

int main() 
 {
  int a=0,b=0,c=0;
  int sum=0;
   
   system("COLOR F0");
   printf("\n\n");
   printf("\tAddition of Three Numbers");
   printf("\n\n");
   printf("\tGive Three Numbers : ");
   scanf("%d%d%d",&a,&b,&c);
 
   sum = (a+b+c);
  
   printf("\n");
   printf("\tThe total sum of %d, %d and %d is %d.",a,b,c,sum);
   printf("\n\n");
   printf("\tEnd of Program");
   printf("\n\n");
  
}


Average Grade Solver in C Language

Write a program that will ask the student to give the prelim, midterm and final grade and then the program will compute the average grade of student and display the result on the screen.

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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

If you like my video tutorials kindly click the like button and subscribe for more video tutorials on my channel.


Thank you very much for your help and support.


Sample Program Output



Program Listing

average_grade.c

/* grade.c
   Author   : Jake Rodriguez Pomperada,BSCS,MAED-IT
   Date     : November 13, 2018  Tuesday 9:44 PM
   Location : Bacolod City, Negros Occidental
   Tool     : Dev C++ Version 5.11
   Website  : http://www.jakerpomperada.com
   Email    : jakerpomperada@jakerpomperada.com
*/

#include <stdio.h>

int main() 
 {
  float solve_average=0.00;
  float prelim=0.00,midterm=0.00,final=0.00;
  
  system("COLOR F0");
  printf("\n\n");
  printf("\tAverage Grade Solver");
  printf("\n\n");
  printf("\tGive Prelim Grade   : ");
  scanf("%f",&prelim);
  printf("\tGive Midterm Grade  : ");
  scanf("%f",&midterm);
  printf("\tGive Final Grade    : ");
  scanf("%f",&final);

  solve_average =(prelim+midterm+final)/3;

  printf("\n\n");
  printf("\t===== DISPLAY RESULTS =====");
  printf("\n\n");
  printf("\tThe student average grade is %.2f.",solve_average);
  printf("\n\n");
  printf("\tEND OF PROGRAM");
  printf("\n\n");
}


Scientific Problems in C

A menu-driven program that will solve various scientific conversion using the 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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

If you like my video tutorials kindly click the like button and subscribe for more video tutorials on my channel.


Thank you very much for your help and support.


Program Listing

scientific.c

#include <stdio.h>
#include <stdlib.h>


int main(){

int menu;
float n1,n2,ans;
float G=9.8;

while(menu !=6){
printf("\n\n");
printf("\t*********SCIENTIFIC PROBLEMS*********");
printf("\n");
        printf("\n\t-----Press 1 to solve for Force--------\n");
printf("\n\t-----Press 2 to solve for Mass---------\n");
printf("\n\t-----Press 3 to solve for Momentum-----\n");
printf("\n\t-----Press 4 to solve for Power--------\n");
printf("\n\t-----Press 5 to solve for Work---------\n");
printf("\n\t-----Press 6 to Exit-------------------\n");
  printf("\n\nEnter your choice:\n");
  scanf("%d",&menu);
  system ("cls");
  
  if(menu == 1){  
printf("\t Solving for Force using Mass and acceleration.\n");
     printf("\n\nGive the value of Mass in kilograms:");
     scanf("%f",&n1);
     printf("\n\n");
     printf("Give the acceleration in meters/second:");
     scanf("%f",&n2);
     printf("\n\n");
     ans = (n1*n2);
     printf("The Force is %.2f Newtons.",ans);  
  else if(menu == 2){  
     printf("\t Solving for Force using Mass and acceleration.\n");
     printf("\n\nGive the value of Mass in kilograms:");
     scanf("%f",&n1);
     printf("\n\n");
     printf("Give the acceleration in meters/second:");
     scanf("%f",&n2);
     printf("\n\n");
     ans = (n1*n2);
     printf("The Force is %.2f Newtons.",ans);
}
  else if(menu == 3){  
printf("\t Solving for Momentum using Mass and Velocity.\n");
     printf("\n\nGive the value of Mass in kilograms:");
     scanf("%f",&n1);
     printf("\n\n");
     printf("Give the value of Velocity in meters/second:");
     scanf("%f",&n2);
     printf("\n\n");
       ans = (n1*n2);
     printf("The Momentum is %.2f kg m/s.",ans);
}
  else if(menu == 4){
printf("\t Solving for Power using Work and Time.\n");
     printf("\n\nGive the value of Work:");
     scanf("%f",&n1);
     printf("\n\n");
     printf("Give the Time in seconds:");
     scanf("%f",&n2);
     printf("\n\n");
     ans = (n1/n2);
     printf("The Power is %.2f Watts.",ans);
}
      else if(menu == 5){
     
    printf("\t Solving for Work using Force and Distance.\n");
     printf("\n\nGive the value of Force:");
     scanf("%f",&n1);
     printf("\n\n");
     printf("Give the Distance:");
     scanf("%f",&n2);
     printf("\n\n");
     ans = (n1*n2);
     printf("The Work is %.2f Joules.",ans);
}
  else if(menu==6){     
     printf("\t\tExiting program\n");
     return 0;
  }
}
return 0;
}


Todo List in Django and SQLite

This  Todo List in Django and SQLite program is written by my close friend and fellow software engineer Sir Eugene Padernal. Thank you very much, Sir Eugene, for sharing your code.

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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

If you like my video tutorials kindly click the like button and subscribe for more video tutorials on my channel.


Thank you very much for your help and support.




Inventory System in Python and MySQL

This inventory system in Python and MySQL program is written by my close friend and fellow software engineer Sir Eugene Padernal. Thank you very much, Sir Eugene, for sharing your code.

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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

If you like my video tutorials kindly click the like button and subscribe for more video tutorials on my channel.


Thank you very much for your help and support.







Sample Program Output





Block Breaker Game in JavaScript

This game program is written by my close friend and fellow software engineer Sir Eugene Padernal that uses JavaScript, HTML 5 and CSS3 the title of the game is Block Breaker it has a sound effect and animation and can run on almost all web browsers. Thank you very much, Sir Eugene, for sharing your code.

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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

If you like my video tutorials kindly click the like button and subscribe for more video tutorials on my channel.


Thank you very much for your help and support.





Sample Program Output




Word Count in PHP

Word Count in PHP

I wrote this program using PHP programming language to count the number of words in a given string and display the results on the webpage.

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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

If you like my video tutorials kindly click the like button and subscribe for more video tutorials on my channel.


Thank you very much for your help and support.


Sample Program Output


Program Listing

index.php

<?php
   
   $string = "Bacolod City is a city of smile";

   echo "<h1>";
   echo "The given string           :  ".$string;
   echo "<br>";
   echo "The number of words  :   ";
   echo str_word_count($string);
   echo "</h1>";

   ?>






String Uppercase Conversion in PHP

String Uppercase Conversion in PHP

I wrote this program to convert the given string into uppercase using PHP 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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

If you like my video tutorials kindly click the like button and subscribe for more video tutorials on my channel.


Thank you very much for your help and support.


Sample Program Output



Program Listing

index.php

<?php

  $title = "php programming for beginners";

  echo "<h1>";
  echo "Given String           : ".$title;
  echo "<br>";
  echo "Uppercase Format  : ";
  echo strtoupper($title);
  echo "</h1>";
  ?>

  


Leap Year Checker in PHP