prathmeshyelne has Published 58 Answers

How to Calculate Area of Equilatral Triangle using C Language

Published on 12-Dec-2021 9:59:37
#include<stdio.h> #include<math.h> int main() { int side; float area, r_4; r_4 = sqrt(3) / 4; printf("\nEnter the Length of Side : "); scanf("%d", &side); area = r_4 * side * side; printf("\nArea of Equilateral Triangle : %f", area); return (0); } Output : Enter the Length of Side : 5 Area of Equilateral Triangle : 10.82 Properties of Equilateral Triangle : Equilateral... Read More

How to print hello world using C Language

Published on 12-Dec-2021 9:36:41
In this example, you will learn to print "Hello, World!" on the screen in C programming. #include <stdio.h> int main() { // printf() displays the string inside quotation printf("Hello, World!"); return 0; } Output : Hello, World! ... Read More

How to Check Whether Number is Perfect Or Not using C

Published on 12-Dec-2021 9:31:51
C Program to Check Whether Number is Perfect Or Not #include <stdio.h> int main() { int num, i = 1, sum = 0; printf("Enter a number: "); scanf("%d", &num); while (i < num) { if (num % i == 0) { sum = sum + i; } i++; } if (sum == num) printf("%d is a Perfect Number", i); else printf("%d is Non Perfect Number", i); return 0; } ... Read More

Which is default HTML5 skeleton ?

Published on 18-Nov-2021 9:48:31
An HTML5 skeleton could look like this: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>THIS IS SIMPLE HTML5 SKELETON</title> </head> <body> </body> </html> (Note that this is not the most minimal HTML5 document, so many parts are optional.)... Read More

How To Clean Up Unnecessary Code From WordPress Header Without Plugins

Published on 28-Oct-2021 9:42:13
How To Clean Up Unnecessary Code From WordPress Header Without Plugins How To Remove Weblog Client Link Example: <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.example.com/xmlrpc.php?rsd" /> To remove the EditURI/RSD link from WordPress header, paste the below code into your theme’s function.php. remove_action ('wp_head', 'rsd_link'); How To Remove Windows Live Writer Manifest Link Example: ... Read More

Python String split() and join() Methods – Explained with Examples

Published on 27-Oct-2021 16:55:15
When working with strings in Python, you may have to split a string into substrings. Or you might need to join together smaller chunks to form a string. Python's split() and join() string methods help you do these tasks easily. In this tutorial, you'll learn about the split() and join() string methods with plenty of example code. As strings in Python are immutable, you can call methods on them without modifying the original strin... Read More

How to Create a Table in SQL – Postgres and MySQL Example Query

Published on 27-Oct-2021 16:11:38
Knowing how to create tables in SQL is an important and fundamental concept. In this tutorial, I will walk you through the SQL syntax for the CREATE TABLE statement using code examples for both PostgreSQL and MySQL. Basic CREATE TABLE Syntax Here is the basic syntax for the CREATE TABLE statement: CREATE TABLE table_name( column1 data_type column_constraint, column2 data_type column_constraint, column3 data_type colu... Read More

How to Install PHP 8 on Ubuntu 20.04

PHP
Published on 27-Oct-2021 5:27:23
PHP is arguably one of the most widely used server-side programming languages. It’s the language of choice when developing dynamic and responsive websites. In fact, popular CM platforms such as WordPress, Drupal, and Magento are based on PHP. Some other notable benefits of using PHP include the following: Easy to learn; the syntax is simple and well organized. PHP code can easily be edited at any time without messing up the entire code;... Read More
1 4 5 6