Skip to content

Instantly share code, notes, and snippets.

View aam-himel's full-sized avatar
🚩
Problem solving

Abdullah Al Mamun aam-himel

🚩
Problem solving
View GitHub Profile
@aam-himel
aam-himel / App.jsx
Created September 14, 2023 16:34
#9 Mastering Event Handling in React | Complete React Course in Bangla
import { useState } from "react";
const App = () => {
const [localValue, setLocalValue] = useState("");
const [submittedValue, setSubmittedValue] = useState("");
const handleChange = (event) => {
setLocalValue(event.target.value);
};
const handleSubmitForm = (event) => {
event.preventDefault();
#include <iostream>
using namespace std;
int main()
{
int arr[] = {10, 20, 44, 1, -3, 66};
int n = sizeof(arr)/sizeof(arr[0]);
for(int i=0; i<n; i++){