Gagan G Saralayagagang.hashnode.dev·Mar 10, 2024C program to input a matrix from the user and find the row sum and the column sum.This program inputs a matrix from the user and then uses the "i" and "j" value from the for loop to choose the element from the matrix and add them. for(int i=0;i<m;i++) { int csum=0; for(int j=0;j<n;j++) { csum=csum+arr[j][i]; } printf("\nSum of al...Discuss7daystreak
Gagan G Saralayagagang.hashnode.dev·Mar 9, 2024C program to display employee details.Here is a C program to input employee details from the user and display the said employee based on the employee number. #include <stdio.h> // Define a structure for employee details struct Employee { char name[100]; int salary; char addr...DiscussC
Gagan G Saralayagagang.hashnode.dev·Mar 8, 2024Showing String Functions in CThere are many uses of strings in C. There are many useful built in string functions in C. Some are used to find the length of the string and some are used to copy one string to another. #include <stdio.h> #include <string.h> int main() { char str1...Discuss7daystreak
Gagan G Saralayagagang.hashnode.dev·Mar 7, 2024C program to input a matrix and change the diagonal elements to zero.Here is a program to convert the diagonal elements to zero. It cheaks if the element i==j and converts it to zero. And it cheaks if the element i+j+1 == to the number of rows and converts to zero. Here is the code. #include<stdio.h> #include<math.h>...Discuss7daystreak
Gagan G Saralayagagang.hashnode.dev·Mar 6, 2024C program to find the factorial of a number.Here is a program to find the factorial of a number. #include<stdio.h> int fac(int n); int main() { printf("Here is a program to find the factorial of a number using functions\n"); printf("Enter a num to find the factorial:"); int n = 0...Discusscrazyblogger
Gagan G Saralayagagang.hashnode.dev·Mar 5, 2024C program to find the GCD and LCM using pointersHere is a C program to find the Greatest common devisor and the Least common multiple of a number. #include<stdio.h> void gcdlcm(int num1,int num2,int*gcd,int*lcm) { int i,max; max=(num1>num2)?num1:num2;//Simple way of saying if num1 is great...Discuss7daystreak
Gagan G Saralayagagang.hashnode.dev·Mar 4, 2024C program to cheak if a number is a palandrome or not.Here is a program to cheak if a number is a palandrome or not. A word, sentence, verse, or even number that reads the same backward or forward. #include<stdio.h> int palandrome(int n); int main(){ int n; printf("Enter the number you want to f...Discuss7daystreak
Harry Johnsonharryjohnson.hashnode.dev·Feb 8, 2024Top 12 Salesforce Implementation Best PracticesImplementing Salesforce effectively can transform your business processes, enhance customer relationships, and improve sales performance. However, to fully leverage its capabilities, it's crucial to follow best practices during the implementation pha...Discuss·10 likesSalesforce
Abdo Achhoubi - Astroastrodev.hashnode.dev·Aug 15, 202390 Snippets: What could be more fun than freeing storage? 🥸Howdy, fellow coding enthusiasts! Astro here, excited to take you on a detailed journey through a remarkable shell script called "cleaner." In this article, we'll delve deep into the inner workings of the script, dissecting its code step by step. Joi...Discuss90 Snippets2Articles1Week
Pratima Adhikaripratima-adhikari.hashnode.dev·Jul 10, 2023Day 3: Exploring Chrome's V8 Engine: Powering Node.js for Efficient JavaScript ExecutionIntroduction The V8 engine, developed by Google, is a special program that can understand and execute JavaScript code. It is like a translator that helps computers understand the instructions written by developers in JavaScript. It is designed to mak...Discuss·1 like·49 readsJavaScript