Tuesday, July 19, 2022

Pounds To Grams in C

 A simple program to ask the user to give value in pounds and convert it into grams equivalent 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

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


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

/* pounds_grams.c

   Jake Rodriguez Pomperada, MAED-IT, MIT

   www.jakerpomperada.com and www.jakerpomperada.blogspot.com

   jakerpomperada@gmail.com

   July 19, 2022   9:10 PM   Tuesday

   Bacolod City, Negros Occidental Philippines

*/


#include <stdio.h>



int main() {


   float pounds=0.00,grams=0.00;

  

    printf("\n\n");

    printf("\tPounds To Grams in C  ");

    printf("\n\n");

    printf("\tEnter Weight in Pounds  : ");

scanf("%f",&pounds);

    

    grams = (pounds*453.592);

    

    printf("\n\n");

    printf("\t%5.3f Pound(s)  is equal to %5.3f Gram(s)\n",pounds,grams);

    printf("\n");

    printf("\tEnd of Program");

    printf("\n");

}

Monday, July 18, 2022

Area of the Circle in TypeScript

Area of the Circle in TypeScript

 Machine Problem

Write a program to solve the area of the circle if the given radius is 5 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 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

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


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_circle.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 11, 2022   9:31 PM   Monday
   Bacolod City, Negros Occidental
*/
var radius = 5;

let area = Math.PI * (radius * radius);
let round_result = Math.round(area*100)/100;

console.log();
console.log("Area of the Circle in TypeScript\n");
console.log("The given radius : " + radius + "\n");
console.log("The area of the circle : "+ round_result  + "\n");
console.log("End of Program\n");

Sunday, July 17, 2022

Temperature Converter in C++

Temperature Converter in C++

 A temperature converter that I wrote using C++ programming language which convert celsius to fahrenheit and fahrenheit to celsius.

 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

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


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

/*

temp.cpp

Jake Rodriguez Pomperada,MAED-IT, MIT

www.jakerpomperada.com and www.jakerpomperada.blogspot.com

jakerpomperada@gmail.com

Bacolod City, Negros Occidental Philippines

*/


#include <iostream>

#include <iomanip>

#include <conio.h>


using namespace std;


int main()

{


int choice=0;

double temp=0, convert_temp=0;


cout <<"\n";

cout << "\tMAIN MENU\n";

cout << "\n [1] Fahrenheit To Celsius";

cout << "\n [2] Celsius To Fahrenheit";

cout << "\n\nEnter Your Choice : ";

cin >> choice;


if(choice == 1)

{

  cout << "\nGive Temperature in Fahrenheit : ";

  cin >> temp;

  convert_temp= (temp-32) / 1.8;

  cout << fixed << setprecision(2);

  cout << "\nThe Temperature in Celsius : " << convert_temp;

  }

  else

  {

  cout << "\nGive Temperature in Celsius : ";

  cin >> temp;

  convert_temp = (1.8 * temp) + 32;

   cout << fixed << setprecision(2);

  cout << "\nThe Temperature in Fahrenheit " << convert_temp;

  }

  cout <<"\n\n";

  cout << "\tEnd of Program";

  cout <<"\n\n";

  getch();

}



Saturday, July 16, 2022

Product and Difference of Two Numbers in TypeScript

Product and Difference of Two Numbers in TypeScript

 Machine Problem

Write a program to solve the product and difference of 100 and 5 and display  the results on 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 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

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


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

/* product_difference.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 11, 2022   9:01 PM   Monday
   Bacolod City, Negros Occidental
*/

var a=100; var b=10;

var product = (a*b);
var difference = (a-b);
   
console.log();
console.log("Product and Difference of Two Numbers in TypeScript.\n");
console.log("The product of " + a + " and " + b + " is "  + product + ".\n");
console.log("The difference between " + a + " and " + b + " is "  + difference + ".\n");
console.log("\tEnd of Program\n");

Thursday, July 14, 2022

Celsius To Fahrenheit in TypeScript

Celsius To Fahrenheit in TypeScript

 Machine Problem

Write a program that will convert the given Celsius value of 100 into Fahrenheit equivalent, 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 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

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


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

/* celsius_fahrenheit.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 13, 2022  11:00 AM   Wednesday
   Bacolod City, Negros Occidental
*/

var  celsius = 50;

// Converting Fahrenheit To Celsius
 let fahrenheit = celsius * 9/5 + 32


// This code rouding off decimal grades
let round_result = fahrenheit.toFixed(2);

console.log();
console.log("Celsius To Fahrenheit in TypeScript\n");
console.log(celsius + "\xB0C is equal to " + round_result + "\xB0F.\n");
console.log("End of Program\n");

Wednesday, July 13, 2022

Average Grade Solver in TypeScript

Average Grade Solver in TypeScript

 Machine Problem

Write a program to compute the average grade of the following grades 87,76,94,85 and 81 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 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

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


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


/* average_grade.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 13, 2022  5:57 AM   Wednesday
   Bacolod City, Negros Occidental
*/

// Solving average grade

var average_grade = (87+76+94+85+81)/5;

// This code rouding off decimal grades
let round_result = average_grade.toFixed(0);

console.log();
console.log("Average Grade Solver in TypeScript\n");
console.log("The average grade of 87,76,94,85 and 81 is " + round_result + ".\n");
console.log("End of Program\n");






Tuesday, July 12, 2022

Delete The Vowels in a String in C++

Delete The Vowels in a String in C++

 A program that I wrote in C++ that will ask the user to give a string and then the program will delete the vowels in the given string by the user.

 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

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


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>
#include <conio.h>
#include <string.h>


using namespace std;

int main()
{

char str[100];
int chk=0, i=0, j=0;
cout <<"\n\n";
cout <<"\tDelete The Vowels in a String in C++\n\n";
cout<<"\tGive a string : ";
gets(str);
while(str[i]!='\0')
    {
        chk=0;
        if(str[i]=='a'||str[i]=='e'||str[i]=='i'||str[i]=='o'||str[i]=='u'||
           str[i]=='A'||str[i]=='E'||str[i]=='I'||str[i]=='O'||str[i]=='U')
        {
            j=i;
            while(str[j-1]!='\0')
            {
                str[j] = str[j+1];
                j++;
            }
            chk = 1;
        }
        if(chk==0)
            i++;
    }
cout <<"\n\n";
cout<<"\tAfter removing the vowels : \n\n";
cout <<"\t"<<str;
cout <<"\n\n";
cout <<"\tEnd of Program";
cout <<"\n";
getch();
}

Sunday, July 10, 2022

Square Pattern in C++

A simple program to demonstrate how to use nested for loop statement to generate square pattern 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

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


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


square.cpp


#include <iostream>

using namespace std;


int main()

{

    int i,j,size=8;


   cout <<"\n\n";

  cout <<"\tSquare Pattern in C++";

   cout <<"\n\n";

    for(i=1; i<=size; i++){

       cout <<"\t";

        for(j=1; j<=size; j++){

        cout<<"*";

    }

   cout<<"\n";

    }

   return 0;

}