Wednesday, October 12, 2022

String Palindrome With Do You Want To Continue in C++

 A simple program to ask the user to give a string and then the program will check if the given string is a palindrome or not with do you want to continue 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 <iostream>

#include <string.h>

#include <conio.h>


#define size 100


 using namespace std;


 main()

    {

    char strsrc[size];

    char strtmp[size];

    char reply=0;

    do {

    cout << "\n\n";

     cout <<"\tGive a String : => ";

      gets(strsrc);

     strcpy(strtmp,strsrc);

     strrev(strtmp);

     cout << "\n\n";

     if(strcmpi(strsrc,strtmp)==0) {

     cout << "\tEntered String " << strsrc << " is Palindrome.";

     }

     else {

     cout << "\tEntered String " << strsrc << " is Not Palindrome.";

     }

  cout << "\n\n";

  cout <<"\tDo You Want to Continue? Y/N : ";

  reply = toupper(getch());

 } while (reply =='Y');

 cout << "\n\n";

 cout <<"\tThank you for Using This Software !!!";

 cout <<"\n\n";

 system("PAUSE");

 }


Computer Parts List Using ng-repeat in AngularJS

Computer Parts List Using ng-repeat in AngularJS

 Machine Problem

Write a program that uses ng-repeat directive that will display the list of computer parts with the following fields ID, Product, Quantity, and Price/Piece values below.

ID   Product                Quantity     Price/Piece

1    Laptop                 50           PHP 8,912.34

2    500 GB SS Hard drive   250          PHP 2,350.12

3    Optical Mouse          25           PHP   132,45

4    USB Keyboard           17           PHP   250.12

5    15" LCD Monitor        34           PHP 3,453.1


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

<!-- index.htm Author : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT Date : July 30, 2021 Friday 3:18 PM Place : Bacolod City, Negros Occidental Websites : www.jakerpomperada.com and www.jakerpomperada.blogspot.com Email : jakerpomperada@gmail.com --> <html> <head> <title>Computer Parts List Using ng-repeat in AngularJS</title> </head> <style> body { font-family: arial; font-size: 25px; font-weight: bold; } </style> <link rel="stylesheet" href="bootstrap.min.css"> <script type="text/javascript" src="angular.min.js"> </script> <body ng-app="ngrepeatApp" ng-controller="ngrepeat_Controller"> <br> <h2>Computer Parts List Using ng-repeat in AngularJS </h2> <br> <table class="table table-bordered table-striped"> <tr> <th>ID</th> <th>Product</th> <th>Quantity</th> <th>Price/Piece</th> </tr> <tr ng-repeat="prod in products"> <td>{{prod.id}}</td> <td>{{prod.product}}</td> <td>{{prod.quantity}}</td> <td>{{prod.price}}</td> </tr> </table> <script> var app = angular.module("ngrepeatApp", []); app.controller("ngrepeat_Controller", function($scope) { $scope.products = [ { id: 1, product: 'Laptop', quantity: '50', price: 'PHP 8,912.34'}, { id: 2, product: '500GB SSD Hard Drive', quantity: '250', price: 'PHP 2350.12' }, { id: 3, product: 'Optical Mouse', quantity: '25',price: 'PHP 132.45'}, { id: 4, product: 'USB Keyboard', quantity: '17',price: 'PHP 250.12'}, { id: 5, product: '15" LCD Monitor', quantity: '34',price: 'PHP 3453.10'} ]; }); </script> </body> </html>

Tuesday, October 11, 2022

Swap Two Numbers in Scala

Swap Two Numbers in Scala

 Machine Problem

Write a program that will ask the user to give two numbers and then the program will display the original arrangement of two numbers, and the swap arrangement of two numbers 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

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


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

/* Swap.scala

   Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

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

   jakerpomperada@gmail.com

   November 14, 2021   2:29 PM  Sunday

   Bacolod City, Negros Occidental

 */


import java.util.Scanner;


object product {

def main(args: Array[String]) : Unit = {

    var scanner = new Scanner(System.in);

        print("\n\n");

    print("\tSwap Two Numbers in Scala");

        print("\n\n");   

print("\tEnter the First number : ");

    var a = scanner.nextInt();

print("\n");

print("\tEnter the Second number : ");

var b = scanner.nextInt();


        print("\n\n");   

        println("\tValues Before Swapping:\t a= " + a + ", b= " + b)

        

        // swapping

        var temp = a

        a = b

        b = temp

        

        print("\n");

        println("\tValues After Swapping:\t a= " + a + ", b= " + b)

        print("\n");

        print("\tEnd of Program");

        print("\n\n");

}

}

Fahrenheit To Celsius Using Scala

Fahrenheit To Celsius Using Scala

 Machine Problem

Write a program that will ask the user to give temperature in Celsius, and then the program will convert the given Celsius temperature into Fahrenheit temperature equivalent.

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


/* Fahrenheit_Celsius.scala

   Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

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

   jakerpomperada@gmail.com

   November 13, 2021  4:05 PM  Saturday

   Bacolod City, Negros Occidental

 */



import java.util.Scanner;


object Fahrenheit_Celsius {


  def main(args: Array[String]) : Unit = {


    var input = new Scanner(System.in);


    print("\n\n");

    print("\tFahrenheit To Celsius Using Scala");

    print("\n\n");

    print("\tEnter Fahrenheit Temperature  : ");

    var fahrenheit = input.nextDouble();


    var  celsius = ((fahrenheit - 32) * 5 / 9);


    print("\n");

    print("\t===== DISPLAY RESULTS =====");

    print("\n\n");

    print("\tFahrenheit Temperature    : " + f"$fahrenheit%5.2f \u00B0F");

    print("\n\n");

    print("\tCelsius Temperature       : " + f"$celsius%5.2f \u00B0C");

    print("\n\n");

    print("\tEND OF PROGRAM");

    print("\n\n");

  }

}


Monday, October 10, 2022

My Book on Scala Programming Being Published

My New Book in Java Programming Being Published

How To Write and Run a C Program Online

Feet To Meter in C

Feet To Meter in C

 A simple program to convert feet to meter 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()

{

    float meter=0.00,feet=0.00;

    

    printf("\n");

    printf("\tFeet To Meter in C");

    printf("\n\n");

    printf("\tGive length in feet : ");

    scanf("%f",&feet);

    

    

    meter = feet / 3.2808399;

    

    printf("\n\n");

printf("\tThe feet value of %5.4f feet(s) in meter is %5.4f meter(s).",feet,meter);

printf("\n\n");

    return 0;

}


Sunday, October 9, 2022

Do You Want To Continue in C++

Do You Want To Continue in C++

 A simple program to show how to write a program that will ask the user do you want to continue using a 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()

{

    int a=0, b=0;

    int sum=0;

    char response('y');


do

{

cout <<"\n\n";

    cout << "\tGive Two Numbers : ";

    cin >> a >> b;

    

    sum = a+b;

    

    cout <<"\n";

    cout <<"\tThe sum of " << a << " and " << b << " is " << sum << ".\n\n";

   cout << "\tDo you want to continue? (Y/N) : ";

cin >> response;

}while (response == 'Y' || response == 'y'); 

    return 0;

}


How To Write and Run C++ Program Online

Sum of Odd and Even Number Using For Loop Statement in C++

Sum of Odd and Even Number Using For Loop Statement in C++

 Machine Problem

Write a program that will ask the user to give a number and then the program will sum all the odd and even numbers based on the given number by the user using for loop statement using C++.

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


// sum_odd_even.cpp

// Author : Mr. Jake R. Pomperada, BSCS,MAED-IT

// Date : August 24, 2018 Friday 10:30 AM

// Location: Bacolod City, Negros Occidental Philippines.

// Website : http://www.jakerpomperada.com

// Email : jakerpomperada@jakerpomperada.com and 

 //jakerpomperada@gmail.com

#include <iostream>

using namespace std;

int main()

{

 int i=0,num=0;

 int odd_sum=0,even_sum=0;

 

 cout << "\n\n";

cout << "\tSum of Odd and Even Number Using For Loop Statement in C++";

cout << "\n\n";

cout << "\tGive a Number : ";

cin >> num;

 

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

 if (i % 2 ==0) {

 even_sum+=i;

 }

 else {

 odd_sum+=i;

 }

 }

 cout <<"\n\n";

 cout <<"\tSum of all ODD Numbers is " << odd_sum <<".\n\n";

 cout <<"\tSum of all EVEN Numbers is " << even_sum <<".";

 cout <<"\n\n";

 cout << "\tEnd of Program";

 cout <<"\n\n"; 

}