Sunday, June 30, 2019

Break Statement Demonstration in Python

Write a program that will demonstrate the use of break statement in Python.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Program Listing

# break_example.py
# Rollyn M. Moises and Jake R. Pomperada
# February 26, 2019    Tuesday
# Bacolod City, Negros Occidental

number = 1

print();
print("\tBreak Statement Demonstration");
print();
for number in range(10):
     number = number + 1
     print("\tThe Number is %d." % number);
     if number == 6:
        break
print();
print('\tOut of the loop')
print();
print("\tEND OF PROGRAM");

Find Sum Of Elements In A List in Python

Here is the sample program to find the sum of elements in a list in Python.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Program Listing

ListSum=[]


num=int(input("How many numbers: "));
for n in range(num):
    numbers=int(input("Enter numbers: "));
    ListSum.append(numbers)
print("Sum of numbers in list: ",sum(ListSum))

Positive or Negative Number Checker in JQuery

A simple program that I wrote using JQuery to check for Positive or Negative Number.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Program Listing

<html>
<head>
<title> Positive or Negative Number Checker in JQuery </title>
<script src="jquery.js"></script>
<style>
body {
 font-family: arial;
 font-size:15px;
 font-weight:bold;
 }
 .input_bold {
font-weight: bold;
 font-size:15px;
 color: red;
}
</style> 
<script>
$(document).ready(function(){
 $("#check_it").click(function(){
 var num = $("#num_value").val();
 if(jQuery.isNumeric(num) == false){
alert('Please enter numeric value');
 $('#num_value').val('');
 $("#results").val('');
$('#num_value').focus();
 }
 else if (num>= 0)
 {
remarks = num+ " is a Positive Number.";
$("#results").val(remarks);
 }
 else {
remarks = num+ " is a Negative Number.";
$("#results").val(remarks);
 }
 });
$("#clear").click(function(){
$("#num_value").val('');
$("#results").val('');
$("#num_value").focus();
 });
 
 
 });
 </script>
</head>
<body>
<form>
Give a Number
<input type="text" id="num_value" size="3"autofocus/><br><br>
The result
<input type="text" id="results" class="input_bold" size="30" readonly/><br>
<br><br>
<button type= "button" id ="check_it">Check </button>
     
<button type= "button" id ="clear">Clear </button>
</form>
</body>
</html>

Average and Percentage of Five Subjects Solver Using Golang

Write a program that will ask the student to give five grades on the following subjects English, Physics, Chemistry, Mathematics, and Computer.  The program will solve the total marks, average marks, and percentage of the five subject grades being given by the 
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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Program Listing

// average.go

package main
import "fmt"
      
func main(){
    var eng, phy, chem, math, comp float32
    var total, average, percentage float32
         
    fmt.Print("\n\n")
    fmt.Print("\tAverage and Percentage of Five Subjects Solver")
    fmt.Print("\n\n")
    fmt.Print("\tEnter Marks of Five Subjects : ")
    fmt.Scan(&eng,&phy,&chem,&math,&comp)
   
/* Calculate total, average and percentage */
    total = eng + phy + chem + math + comp;
    average = total / 5.0;
    percentage = (total / 500.0) * 100;

    fmt.Print("\n\n")
    
    fmt.Print("\tTotal Marks = ")
    fmt.Printf("\t%0.2f ",total)
    fmt.Print("\n")
    fmt.Print("\tAverage Marks = ")
    fmt.Printf("%0.2f ",average) 
    fmt.Print("\n\n")
    fmt.Print("\tPercentage = ")
    fmt.Printf("%0.2f",percentage) 
    fmt.Print("%") 
    fmt.Print("\n\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}

    

   


Simple Interest Rate Solver in Golang

A very simple program that I wrote using Golang programming language to compute the loan interest of the customer in a lending or financial institution.

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Program Listing


package main

import "fmt"

func main() {
var principal, time, rate, SI float64

fmt.Print("\n")
fmt.Print("\tSimple Interest Rate Solver")
fmt.Print("\n\n")
fmt.Print("\tEnter Principal Amount : ")
fmt.Scanf("%f",&principal)
fmt.Print("\tEnter Time  : ")
fmt.Scanf("%f",&time);
fmt.Print("\tEnter Rate  : ")
fmt.Scanf("%f",&rate);
/* Calculate simple interest */
SI = (principal * time * rate) / 100;
fmt.Print("\n")
fmt.Println("\tThe sum of %.2f",SI)
fmt.Print("\n")
fmt.Print("\tEnd of Program")
fmt.Print("\n")
}


Divisible Number Determiner in Golang

Write a program to check whether a number is divisible by 5 and 11.


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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Program Listing

// divisible.go

package main
import "fmt"
func main(){
    var number_given int32
    fmt.Print("\n")
    fmt.Print("\tDivisible Number Determiner")
    fmt.Print("\n\n")
    fmt.Print("\tKindly give a number? ")
    fmt.Scanln(&number_given)
  if ((number_given % 5 == 0) && (number_given % 11 == 0)) {
       fmt.Print("\n")
       fmt.Print("\tThe given number ")
       fmt.Printf("%d",number_given)
       fmt.Print(" is divisible by 5 and 11.")
    } else {
       fmt.Print("\n")
       fmt.Print("\tThe given number ")
       fmt.Printf("%d",number_given)
       fmt.Print(" is not divisible by 5 and 11.")
    }
    fmt.Print("\n\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")

Character Checker Program in Golang

Design a program to input a character from user and check whether the given character is alphabet or not.


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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Program Listing

// character.go

package main
import (
    "fmt"
    "bufio"
    "os"
)


func main() {
    scanner := bufio.NewScanner(os.Stdin)
    
    var ch string
    fmt.Print("\n")
    fmt.Print("\tCharacter Checker Program")
    fmt.Print("\n\n")
    fmt.Print("\tGive a Character : ")
    scanner.Scan()
    ch = scanner.Text()
     
    if ((ch >= "a" && ch <= "z") || (ch >= "A" && ch <= "Z")) {
    fmt.Print("\n\n")
    fmt.Print("\tThe given character ");
        fmt.Printf("%s",ch) 
    fmt.Print(" is an Alphabet.")
      } else { 
        fmt.Print("\n\n")
    fmt.Print("\tThe given character ");
        fmt.Printf("%s",ch) 
    fmt.Print(" is Not an Alphabet.")
    }    
    fmt.Print("\n\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
 }

Odd and Even Number Checker in Golang


Write a program that will ask the user to give a number and then the program will check if the given number is a even or odd number and then display the results on the screen.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Program Listing

// odd_even.go

package main
 
import "fmt"
 
func main(){
    var num_value int32
    fmt.Print("\n")
    fmt.Print("\tOdd and Even Number Checker")
    fmt.Print("\n\n")
    fmt.Print("\tKindly give a number? ")
    fmt.Scanln(&num_value)
  if num_value % 2 ==0 {
       fmt.Print("\n")
       fmt.Print("\tThe given number ")
       fmt.Printf("%d",num_value)
       fmt.Print(" is an Even Number.")
    } else {
       fmt.Print("\n")
       fmt.Print("\tThe given number ")
       fmt.Printf("%d",num_value)
       fmt.Print(" is an Odd Number.")
    }
    fmt.Print("\n\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}

Positive and Number Number Checker in Go

Write a program that will ask the user to give a number and then the program will check if the given number is a positive or negative number and then display the results on the screen.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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


Program Listing


// positive_negative.go

package main
 
import "fmt"
 
func main(){
    var num_value int32
    fmt.Print("\n")
    fmt.Print("\tPositive and Number Number Checker")
    fmt.Print("\n\n")
    fmt.Print("\tKindly give a number? ")
    fmt.Scanln(&num_value)
  if num_value <0 {
       fmt.Print("\n")
       fmt.Print("\tThe given number ")
       fmt.Printf("%d",num_value)
       fmt.Print(" is a Negative Number.")
    } else {
       fmt.Print("\n")
       fmt.Print("\tThe given number ")
       fmt.Printf("%d",num_value)
       fmt.Print(" is a Positive Number.")
    }
    fmt.Print("\n\n")
    fmt.Print("\tEnd of Program")
    fmt.Print("\n")
}

Bitwise Operators Demonstration in C

A simple program to show how to use Bitwise Operators in C programming language.

If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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

Sample Program Output



Program Listing

/* bitwise.c
   Author   : Jake Rodriguez Pomperada,BSCS,MAED-IT
   Date     : November 19, 2018  Monday 2:38 PM
   Location : Bacolod City, Negros Occidental
   Website  : http://www.jakerpomperada.com
   Emails   : jakerpomperada@jakerpomperada.com
              jakerpomperada@gmail.com
              jakerpomperada@yahoo.com
              jakerpomperada@aol.com
*/

#include <stdio.h>

int main() 
 int x=0, y=0; 
 printf("\n\n");
 printf("\tBitwise Operators Demonstration");
 printf("\n\n");
 printf("\tGive two integers: ");
 scanf("%d%d",&x,&y);
 printf("\n\n");
 printf("\t%d & %d =  %d\n",x,y,(x & y)); 
 printf("\t%d | %d = %d\n",x,y,(x | y)); 
 printf("\t%d ^ %d = %d\n",x,y,(x ^ y));
 printf("\t~%d = %d\n",x,~x); 
 printf("\t%d << %d = %d\n",x,2,(x << 2));
 printf("\t%d >> %d = %d\n",x,2,(x >> 2));
 printf("\n\n");
 printf("\tEnd of Program");
 printf("\n\n");
}


What are the Disadvantages of C Programming Language?


What are the Disadvantages of C Programming Language?

  • ·         C Programming Language doesn't support Object Oriented Programming (OOP) features like Inheritance, Encapsulation, Polymorphism etc. It is a procedure-oriented language. In C, we have to implement any algorithms as a set of function calls.

  • ·         C doesn't perform Run Time Type Checking. It only does compile-time type checking. At runtime, C doesn't ensure whether the correct data type is used instead it performs automatic type conversion.

  • ·         C does not provide support for namespace like C++. Without Namespace, we cannot declare two variables of the same name.

  • ·         C doesn't support the concept of constructors and destructors.



If you like my work please click the ads on my website to support my work. I will really appreciate your help. 

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

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