Bubble sort is the simplest sorting algorithm. In this technique we follow given step to short given elements in increasing order.
http://www.tutorial4us.com/data-structure/c-bubble-sort
본 강의에서는 C언어의 for 반복문에 대해 알아보겠습니다. for 반복문은 반복횟수가 정해져 있을경우 유용한 문장으로, 초기화문과, 조건검사문, 증감문으로 구성되어 조건검사결과가 참이면 주어진 문장을 반복적으로 실행하는 문장입니다.
- Youtube 강의동영상
https://youtu.be/va7vnHThYwA
- 코드는 여기에서 다운 받으세요
https://github.com/dongupak/Basic-C-Programming
El potencial de CSS3 es muy grande. Sólo con un poco de código y mucha imaginación tenemos la oportunidad de usar fuentes externas en nuestra web, hacer animaciones sencillas sin necesidad de un .gif, dar formato a títulos e imágenes…
This document describes a system called Victory Sure that promises to generate a large cash flow directly into a bank account within a few days. It says Victory Sure is a very powerful system that generates money. It then provides instructions on how to join the system, which involves purchasing an e-pin for Rs. 500 and depositing additional funds of Rs. 1000 or more into other users' bank accounts in order to qualify for income from the system. The document outlines four potential income streams including direct income, royalty income, level income, and monthly subscription income. It encourages the reader not to miss this opportunity and to seize it to change their life.
The document provides information about several landmarks and areas in London, including Trafalgar Square, Nelson's Column, the National Gallery, National Portrait Gallery, Covent Garden, Piccadilly Circus, the Globe Theatre, and Camden Town. Trafalgar Square features Nelson's Column, built to commemorate Admiral Horatio Nelson. The National Portrait Gallery houses portraits of famous British people. Covent Garden was formerly a fruit and vegetable market and is now a popular shopping area near the Royal Opera House. Piccadilly Circus is a major road junction and public space in the West End. The Globe Theatre was associated with William Shakespeare. Camden Town is a district in northwest London known for its alternative culture and variety
Bubble sort is the simplest sorting algorithm. In this technique we follow given step to short given elements in increasing order.
http://www.tutorial4us.com/data-structure/c-bubble-sort
본 강의에서는 C언어의 for 반복문에 대해 알아보겠습니다. for 반복문은 반복횟수가 정해져 있을경우 유용한 문장으로, 초기화문과, 조건검사문, 증감문으로 구성되어 조건검사결과가 참이면 주어진 문장을 반복적으로 실행하는 문장입니다.
- Youtube 강의동영상
https://youtu.be/va7vnHThYwA
- 코드는 여기에서 다운 받으세요
https://github.com/dongupak/Basic-C-Programming
El potencial de CSS3 es muy grande. Sólo con un poco de código y mucha imaginación tenemos la oportunidad de usar fuentes externas en nuestra web, hacer animaciones sencillas sin necesidad de un .gif, dar formato a títulos e imágenes…
This document describes a system called Victory Sure that promises to generate a large cash flow directly into a bank account within a few days. It says Victory Sure is a very powerful system that generates money. It then provides instructions on how to join the system, which involves purchasing an e-pin for Rs. 500 and depositing additional funds of Rs. 1000 or more into other users' bank accounts in order to qualify for income from the system. The document outlines four potential income streams including direct income, royalty income, level income, and monthly subscription income. It encourages the reader not to miss this opportunity and to seize it to change their life.
The document provides information about several landmarks and areas in London, including Trafalgar Square, Nelson's Column, the National Gallery, National Portrait Gallery, Covent Garden, Piccadilly Circus, the Globe Theatre, and Camden Town. Trafalgar Square features Nelson's Column, built to commemorate Admiral Horatio Nelson. The National Portrait Gallery houses portraits of famous British people. Covent Garden was formerly a fruit and vegetable market and is now a popular shopping area near the Royal Opera House. Piccadilly Circus is a major road junction and public space in the West End. The Globe Theatre was associated with William Shakespeare. Camden Town is a district in northwest London known for its alternative culture and variety
The document provides information about several notable locations in royal London, including Kensington Palace, Wellington Arch, Hyde Park, Westminster Abbey, St. James's Park, Buckingham Palace, and the Queen Victoria Memorial. Kensington Palace has nine function rooms of varying sizes. Wellington Arch at Hyde Park Corner was originally designed as a grand entrance to Buckingham Palace. Hyde Park is one of the largest parks in central London, famous for Speakers' Corner. Buckingham Palace is the official residence of the British monarchy and located in Westminster. The Queen Victoria Memorial in front of Buckingham Palace was dedicated to Queen Victoria and placed at the center of Queen's Gardens.
The document provides information about several notable locations in royal London, including Kensington Palace, Wellington Arch, Hyde Park, Westminster Abbey, St. James's Park, Buckingham Palace, and the Queen Victoria Memorial. Kensington Palace has nine function rooms of varying sizes. Wellington Arch at Hyde Park Corner was originally designed as a grand entrance to Buckingham Palace. Hyde Park is one of the largest parks in central London, famous for Speakers' Corner. Buckingham Palace is the official residence of the British monarchy and located in Westminster. The Queen Victoria Memorial in front of Buckingham Palace was dedicated to Queen Victoria in 1911.
Abdul Hussain has over 5 years of experience in software development and 1.5 years in telecom as a radio frequency engineer. He has extensive skills in programming languages like C#, ASP.NET, VB, and databases like SQL Server, Oracle. He has worked on projects in various domains including ERP, CRM, health records management. His responsibilities included design, development, testing and resolving issues. He seeks to utilize his full technical skills and experience in software development.
The document is a quiz about landmarks and locations in London, England. It asks multiple choice questions about the British Museum, British Library, Soho neighborhood, Oxford Street, Piccadilly Circus, Harrods department store, and Charles Dickens House. The questions cover what these places are, when they were established or transformed, their features and holdings. It tests knowledge of the history, culture and attractions of central London.
This document discusses a computer project involving an app to help with learning English. It includes details about the timeline and milestones for the project such as planning taking 3 weeks, development taking 5 weeks, and testing and bug fixing taking 2 weeks before a final release. The total estimated time for the project is 10 weeks.
- Intro.Me is a mobile app that helps users make meaningful connections at networking events by matching them with other attendees based on shared interests and backgrounds and enabling easy information sharing.
- The document outlines Intro.Me's value proposition, business model, financial projections showing positive earnings by year 3 and 40% market share by year 5, and risks around competition and organizer willingness to pay.
- It introduces the founding team and describes Intro.Me's strategy to initially focus on major cities, collect user data to add advertising, and potentially be acquired as the business grows.
This document is a quiz about landmarks and sites in London, including the Mansion House, the Monument, St. Mary-le-Bow church, the Royal Exchange, St. Paul's Cathedral, the Tower of London, London Bridge, and the River Thames. It asks multiple choice questions about each location testing knowledge of when they were founded, who founded them, what they are used for, and other key details. The quiz covers the history and highlights the most important architectural and cultural sites along the river Thames in London.
Big Ben is the great bell of the clock located in London, which was completed in 1859. Whitehall was originally a wide road and is now a street where government buildings are located. The Prime Minister lives at 10 Downing Street. Scotland Yard refers to the headquarters of the Metropolitan Police Service located in London. The London Eye is a giant Ferris wheel and tourist attraction in London measuring 135 meters. Westminster Hall is located in the City of Westminster and was destroyed by fire in the past. Westminster Abbey's official name is Westminster Abbey.
The document discusses touristic resources in Trujillo, Peru. It recommends visiting monuments like the Chan Chan archaeological site, which features adobe walls and pyramids from the Chimu culture. The Huaca de la Luna temple is another notable site to see, as it has painted reliefs and underground tombs. Overall, Trujillo offers tourists opportunities to learn about the diverse architectural styles of ancient Peru at well-preserved historical sites.
This document is a list of English vocabulary words organized into categories of objects related to the human body, feelings and emotions, clothing, hygiene products, jewelry and accessories, money, and other miscellaneous items. It includes over 300 terms with translations in another language. The purpose is to provide vocabulary for learning English, grouping related words together to help build language skills.
The document outlines Dash Mobile's behavioral change program to help lower blood pressure using a mobile app. It discusses targeting the 70 million Americans with high blood pressure as customers. The main app features include daily monitoring, evidence-based practices, involvement of doctors, and live coaching. Next, it examines refining the value proposition through customer surveys and a pilot program. It also reviews competitive landscape and scale up options like partnerships. In conclusion, it recommends focusing on behavioral change as the core competency and forming strategic partnerships within the mobile health ecosystem.
PPt. Psikologi sebagai ilmu yang berdiri sendiriamandaayoe
Psikologi berkembang menjadi ilmu yang berdiri sendiri pada abad ke-19 di Jerman. Wilhelm Wundt mendirikan laboratorium psikologi pertama di dunia pada tahun 1879 di Leipzig, Jerman, dan dianggap sebagai bapak psikologi modern. Ia mempelopori pendekatan eksperimental dan menekankan analisis proses kesadaran menjadi unsur-unsur dasarnya. Beberapa tokoh psikologi lainnya seperti Ivan Pavlov, Edward Titchener,
1. Ruang vektor didefinisikan sebagai himpunan yang memenuhi 10 aksioma operasi penjumlahan dan perkalian skalar.
2. Contoh ruang vektor termasuk himpunan Rn, polinomial derajat n, dan matriks ukuran m x n.
3. Ruang vektor bagian adalah himpunan bagian dari ruang vektor yang tertutup terhadap operasi penjumlahan dan perkalian skalar.
This document discusses SQL injection and the sqlmap tool for automating the process of detecting and exploiting SQL injection flaws. Some key points:
- SQL is a programming language used to manage data in relational database management systems. SQL injection occurs when malicious SQL code is inserted into an entry field for execution, potentially enabling control of the entire database.
- Sqlmap automates the process of detecting and exploiting SQL injection vulnerabilities. It has capabilities like database fingerprinting, data extraction, accessing the underlying file system, and executing commands on the operating system via SQL injections.
- The tool can detect injectable parameters, generate automatic payloads to retrieve data, fingerprint the database management system, and provide an interactive SQL shell
1. //PROGRAM HITUNG LUAS BALOK
#include <stdio.h>
#include <conio.h>
float p, l, t,luas;
void main()
{
cl rs cr();
printf("-------------------------------------n");
printf("PROGRAM HITUNG LUAS BALOKn");
printf("-------------------------------------n");
printf("Masukan panjang : ");s canf("%f",&p);
printf("Masukan lebar : ");s canf("%f",&l);
printf("Masukan tinggi : ");s canf("%f",&t);
printf("-------------------------------------n");
luas = (2 * p * l ) + (2 * p * t) + (2 * l * t);
printf("Luas balok tersebut : %f", luas);
printf("n-------------------------------------");
getch();
}
#include <stdio.h>
#include <conio.h>
int i ;
void main()
{
cl rs cr();
for (i=2;i<50;i+=2)
printf("%i ",i);
printf("n");
for (i=3;i<50;i+=3)
printf("%i ",i);
printf("n");
for (i=50;i>0;i -=2)
printf("%i ",i);
printf("n");
for (i=4;i<50;i+=4)
i f ((i !=20)&&(i!=40))
printf("%i ",i);
printf("n");
for (i=2;i<50;i+=2)
i f (i<48)
printf("%i, ",i);
el se
printf("%i ",i);
printf("n");
getch();
}
#include <stdio.h>
#include <conio.h>
int i , max;
void main()
{
cl rs cr();
printf("CETAK BILANGAN KELIPATAN 2n");
printf("--------------------------n");
printf("Masukan batas atas : "); s canf ("%i", &max);
printf("--------------------------n");
printf("n");
i f ((max % 2) !=0) max--; //jika input ganjil max -1 , biar genap
for (i=2; i<=max; i+=2 )
i f (i !=max)
printf("%i, ",i);
el se
printf("%i ",i);
getch();
}
#include <stdio.h>
#include <conio.h>
int i , j, k;
void main()
{
cl rs cr(); // looping baris
{ // 1
for (i=1; i<=5; i++ )
{
for (j=1; j<=i ; j++)
printf("%i ",j );
printf("nn");
}
}
{ // 2
for (i=5; i>=1; i -- )
{
for (j=1; j<=i ; j++)
printf("%i ",i );
printf("nn");
}
}
{ // 3
for (i=5; i>=1; i -- )
{
for (j=1; j<=i ; j++)
printf("* " );
printf("nn");
}
}
{ // 4
for (i=1; i<=5; i++ )
{
for (j=1; j<=5; j++)
i f ((i==1) || (j==1))
printf("0 " );
el se
printf("* " );
printf("nn");
}
}
{ // 5
for (i=1; i<=5; i++ )
{
for (j=1; j<=5; j++)
i f ((i==5) || (j==5))
printf("0 " );
el se
printf("* " );
printf("nn");
}
}
{ // 6
for (i=1; i<=5; i++ )
{
for (j=1; j<=6; j++)
i f (j >(6-i ))
printf("* " );
el se
printf("0 " );
printf("nn");
}
}
getch();
}
2. #include <stdio.h>
#include <conio.h>
int i , n, total;
void main()
{
cl rs cr();
printf("PROGRAM MENGHITUNG BILANGAN GANJIL POSITIFn");
printf("------------------------------------------n");
printf("Masukkan batas atas :"); s canf("%i",&n);
printf("------------------------------------------n");
i f ((n % 2) == 0) n = n -1; // jika n bil genap makan n-1
i=1; tota l=0;
whi l e (i<=n)
{
i f (i != n)
printf("%i + ",i );
el se
printf("%i = ",i );
tota l = total + i ;
i = i +2;
}
printf("%i ",total);
getch();
}
#include <stdio.h>
#include <conio.h>
int i ;
void main()
{
cl rs cr();
i=0;
whi l e (i<10)
{
i++;
i f (i==5)break; // <----------- perintah break/continue
printf("%i ",i);
}
getch();
}
//Program menghitung volume tabung
#include <stdio.h>
#include <conio.h>
float jari_jari, tinggi, volume;
char jwb; // <------- variabel penampung jawaban y/t
void main()
{
do { // <----------- awal looping
cl rs cr();
printf("Masukkan panjang jari_jari ==> ");
s canf("%f",&jari_jari);
printf("nMasukkan tinggi tabung ==> ");
s canf("%f",&tinggi); fflush(stdin); // <----- tanpa fflush program akan
kembali ke perintah cl rscr
printf("nrumus volume tabung ==> 3.14 * jari _jari * jari_jari * tinggi
tabung");
volume = 3.14 * jari _jari * jari_jari * tinggi;
printf("nnVolume tabung tersebut ==>%10.2f",volume);
printf("nnMau hitung lagi [y/t] ==> "); jwb = getchar();
}whi l e (jwb == 'y');
}
//PROGRAM FAKTUR MINIMARKET
#include <stdio.h>
#include <conio.h>
char faktur[5], tanggal[2], nama_brg[30];
float jumlah, satuan, total, bayar, kembali, total_bayar, diskon;
void main()
{
cl rs cr();
printf("MINI MARKET ''MESTI PAYU'' n");
printf("Jl. laksda Adi Sucipto No.294-A Malangn");
printf("--------------------------------------n");
printf("No. Faktur : ");s canf("%s",&faktur);
printf("Tanggal transaksi : ");s canf("%s",&tanggal);
printf("--------------------------------------n");fflush(stdin);
printf("Nama Barang : ");gets (nama_brg);
printf("Harga Satuan : ");s canf("%f",&satuan);
printf("Jumlah : ");s canf("%f",&jumlah);
printf("--------------------------------------n");
tota l = jumlah * satuan ;
printf("Total Harga : %.fn",total); //<---------- "." / ti tik disini
menghilangkan nol dibelakang tanda ti tik
i f (tota l > 500000)
{
di skon = tota l * 0.05;
tota l_bayar = tota l - diskon;
}
el s e if (total > 300000)
{
di skon = tota l*0.03;
tota l_bayar = tota l-diskon;
}
el s e if (total > 100000)
{
di skon=total*0.02;
tota l_bayar=total-diskon;
}
el se
{
di skon = 0;
}
printf("Discount : %.fn",diskon);
tota l_bayar = total - diskon;
printf("Total Bayar : %.fn", total_bayar);
printf("--------------------------------------n");
printf("Bayar : ");s canf("%f",&bayar);
kembali = bayar - total_bayar;
printf("Kembali : %.fn",kembali);
printf("======================================n");
printf("---------selamat berbelanja-----------n");
printf("======================================n");
getch();
}
3. #include <stdio.h>
#include <conio.h>
int i , j, k;
void main()
{
cl rs cr();
{ // 4
for (i=1; i<=6; i++ )
for (j=1; j<=i ; j++)
printf("%i",i );
printf(" No.4"); // deret ini bisa dihapus
printf("n");
}
{ // 6
for (i=1; i<=6; i++ )
for (j=1; j<=i ; j++)
printf("%i",j );
printf(" No.6"); // deret ini bisa dihapus
printf("n");
}
{ // 7
for (i=1; i<=6; i++ )
for (j=7-i ; j>=1; j--)
printf("%i",j );
printf(" No.7"); // deret ini bisa dihapus
printf("n");
}
{ // 8
for (i=1; i<=6; i++ )
for (j=1; j<=i ; j++)
i f ((i==3) || (i==5))
printf("%i",i );
el se
printf("%i",j );
printf(" No.8"); // deret ini bisa dihapus
printf("n");
}
{ // 9
for (i=1; i<=6; i++ )
for (j=1; j<=i ; j++)
i f ((i==2) || (i==4) || (i==6))
printf("%i",i );
el se
printf("%i",j );
printf(" No.9"); // deret ini bisa dihapus
printf("n");
}
{ // 11
for (i=6; i>=1; i -- )
for (j=1; j<=i ; j++)
i f ((i==2) || (i==4) || (i==6))
printf("%i",i );
el se
printf("%i",j );
printf(" No.11"); // deret ini bisa dihapus
printf("n");
}
{ // 13
for (i=6; i>=1; i -- )
for (j=1; j<=i ; j++)
i f ((i==2) || (i==4) || (i==6))
printf("%i",i );
el se
printf("%i",j );
printf(" No.13"); // deret ini bisa dihapus
printf("n");
}
getch();
}